mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
we arent testing echo -n
here so use printf instead
This commit is contained in:
parent
20300d0129
commit
c3d91952d6
@ -8,9 +8,9 @@ echo $?
|
|||||||
if ! false; then ! false; echo $?; fi
|
if ! false; then ! false; echo $?; fi
|
||||||
echo $?
|
echo $?
|
||||||
for a in ! a b c; do echo $a; done
|
for a in ! a b c; do echo $a; done
|
||||||
for a in ! a b c; do ! echo -n "$a "; echo $?; done
|
for a in ! a b c; do ! printf "$a "; echo $?; done
|
||||||
for a in ! a b c; do ! /bin/echo -n "$a "; echo $?; done
|
for a in ! a b c; do ! /usr/bin/printf "$a "; echo $?; done
|
||||||
for a in ! a b c; do ! echo -n "$a " | false; echo $?; done
|
for a in ! a b c; do ! printf "$a " | false; echo $?; done
|
||||||
for a in ! a b c; do ! echo -n "$a " | true; echo $?; done
|
for a in ! a b c; do ! printf "$a " | true; echo $?; done
|
||||||
for a in ! a b c; do ! { echo -n "$a " | false; }; echo $?; done
|
for a in ! a b c; do ! { printf "$a " | false; }; echo $?; done
|
||||||
for a in ! a b c; do ! { echo -n "$a " | true; }; echo $?; done
|
for a in ! a b c; do ! { printf "$a " | true; }; echo $?; done
|
||||||
|
Loading…
Reference in New Issue
Block a user