[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #50259] -printf %h behaves weirdly with trailing slashes
From: |
Tavian Barnes |
Subject: |
[bug #50259] -printf %h behaves weirdly with trailing slashes |
Date: |
Fri, 10 Feb 2017 14:21:31 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 |
Follow-up Comment #2, bug #50259 (project findutils):
> If the file's name contains no slashes (for example because it was named on
the command line and is in the current working directory), then “%h”
expands to “.”. This prevents “%h/%f” expanding to “/foo”, which
would be surprising and probably not desirable.
This looks to me like the intention was for "%h/%f" to be a valid path to the
file (otherwise, why have the special case at all?).
But I realise that it does exactly document the current behaviour. Consider
this a feature request then?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?50259>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Tavian Barnes, 2017/02/08
- [bug #50259] -printf %h behaves weirdly with trailing slashes, James Youngman, 2017/02/10
- [bug #50259] -printf %h behaves weirdly with trailing slashes,
Tavian Barnes <=
- [bug #50259] -printf %h behaves weirdly with trailing slashes, James Youngman, 2017/02/11
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/12
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/12
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Tavian Barnes, 2017/02/12
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/13
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/14
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/16
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/20
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Eric Blake, 2017/02/20
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/20