RosettaCodeData/Task/Execute-a-system-command/UNIX-Shell/execute-a-system-command-8.sh

4 lines
94 B
Bash
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
set output=( "`grep 80/ /etc/services`" )
echo "Line 1: $output[1]"
echo "Line 2: $output[2]"