[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #50259] -printf %h behaves weirdly with trailing slashes
From: |
Bernhard Voelker |
Subject: |
[bug #50259] -printf %h behaves weirdly with trailing slashes |
Date: |
Sun, 12 Feb 2017 08:27:08 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #5, bug #50259 (project findutils):
With that patch, you can also have a look on what's changed
compared to the installed version with the following snippet:
$ mkdir -p foo/bar
$ ln -snf foo foolink
$ for opt in '' -H -L -P ; do
printf "\n=== Differences for option: '%s' ===\n" "$opt"
diff -u0 \
<( /usr/bin/find $opt {,./}{/,.,foo,foolink}{,/,/.} -maxdepth 1 -printf
"%h/%f,%%p=%p,%%h='%h',%%f='%f'\n" ) \
<( ./find $opt {,./}{/,.,foo,foolink}{,/,/.} -maxdepth 1 -printf
"%h/%f,%%p=%p,%%h='%h',%%f='%f'\n" )
done | column -t -s,
_______________________________________________________
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, 2017/02/10
- [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 <=
- [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
- [bug #50259] -printf %h behaves weirdly with trailing slashes, Bernhard Voelker, 2017/02/21