mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
[Scripts] Remove cat for pipe.
This commit is contained in:
parent
b30b50dc5a
commit
f7daa9b1b1
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ xdotool key Return
|
|||
# Get result, kill xvfb
|
||||
wait ${RPID}
|
||||
RETV=$?
|
||||
OUTPUT=$(cat output.txt | tr '\n' ' ')
|
||||
OUTPUT=$(tr '\n' ' ' < output.txt)
|
||||
if [ "${OUTPUT}" != '2 12 20 21 22 23 24 25 26 27 28 29 ' ]
|
||||
then
|
||||
echo "Got: '${OUTPUT}' expected '2 12 20 21 22 23 24 25 26 27 28 29 '"
|
||||
|
|
|
@ -16,7 +16,7 @@ xdotool key Return
|
|||
# Get result, kill xvfb
|
||||
wait ${RPID}
|
||||
RETV=$?
|
||||
OUTPUT=$(cat output.txt | tr '\n' ' ')
|
||||
OUTPUT=$( tr '\n' ' ' < output.txt )
|
||||
if [ "${OUTPUT}" != 'noot mies ' ]
|
||||
then
|
||||
echo "Got: '${OUTPUT}' expected 'noot mies '"
|
||||
|
|
Loading…
Reference in a new issue