RosettaCodeData/Task/Execute-a-system-command/UNIX-Shell/execute-a-system-command-8.sh
Ingy döt Net d066446780 langs a-z
2013-04-10 22:43:41 -07:00

3 lines
94 B
Bash

set output=( "`grep 80/ /etc/services`" )
echo "Line 1: $output[1]"
echo "Line 2: $output[2]"