Skip to content

ipptool: add a "$basename" variable #44

@wifiprintguy

Description

@wifiprintguy

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions