mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +00:00
util: replace all instances of printf
Add the `g` flag to one of the regular expression substitutions in `util/build-gnu.sh` so that all instances of `printf` are replaced with `/usr/bin/printf` in `tests/dd/ascii.sh` instead of just one instance per line.
This commit is contained in:
parent
8a787fe028
commit
ec3bcf4067
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ sed -i 's|dd |/usr/bin/dd |' tests/du/8gb.sh tests/tail-2/big-4gb.sh init.cfg
|
|||
sed -i 's|id -|/usr/bin/id -|' tests/misc/runcon-no-reorder.sh
|
||||
sed -i 's|touch |/usr/bin/touch |' tests/cp/preserve-link.sh tests/cp/reflink-perm.sh tests/ls/block-size.sh tests/ls/abmon-align.sh tests/ls/rt-1.sh tests/mv/update.sh tests/misc/ls-time.sh tests/misc/stat-nanoseconds.sh tests/misc/time-style.sh tests/misc/test-N.sh
|
||||
sed -i 's|ln -|/usr/bin/ln -|' tests/cp/link-deref.sh
|
||||
sed -i 's|printf |/usr/bin/printf |' tests/dd/ascii.sh
|
||||
sed -i 's|printf |/usr/bin/printf |g' tests/dd/ascii.sh
|
||||
sed -i 's|cp |/usr/bin/cp |' tests/mv/hard-2.sh
|
||||
sed -i 's|paste |/usr/bin/paste |' tests/misc/od-endian.sh
|
||||
sed -i 's|seq |/usr/bin/seq |' tests/misc/sort-discrim.sh
|
||||
|
|
Loading…
Reference in a new issue