Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipptool: add a "$basename" variable #44

Closed
wifiprintguy opened this issue Jan 19, 2023 · 1 comment
Closed

ipptool: add a "$basename" variable #44

wifiprintguy opened this issue Jan 19, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request priority-low
Milestone

Comments

@wifiprintguy
Copy link

The $filename variable provides the entire path specified by the -f option. It would be nice if there was a way to trim that to its "basename" component (last element in the path) for when the filename is used in job naming, such as:

ATTR name "job-name" "Some test $user $basename $job-id"

so that looking at the job log can be useful when testing.

Moved istopwg/ippsample#277 here as per guidance from @michaelrsweet.

@michaelrsweet
Copy link
Member

[master fa34156] Add basename variable (Issue #44)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-low
Projects
None yet
Development

No branches or pull requests

2 participants