Thank you for opening this bug and helping making Ubuntu better. Before
I propose this upstream, I would like to know more about what you would
like to have -- is it just a fixed prefix (pretty much like the suffix
currently supported)?

For example (and supposing this new option is to be triggered by the
'-p' or '--prefix' parameter):

basename --prefix atest /this/is/a/sample/atest-data.filename

would return '-data.filename', while

basename --prefix atest /this/is/a/sample/atest-data.filename .filename

would return '-data'.

Is this a correct interpretation?

Thanks.

** Changed in: coreutils (Ubuntu)
       Status: New => Incomplete

-- 
Option for basename to strip prefix in stead of suffix
https://bugs.launchpad.net/bugs/173211
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to