RosettaCodeData/Task/Execute-a-system-command/C-Shell/execute-a-system-command-2.csh
2023-07-01 13:44:08 -04:00

3 lines
94 B
Tcsh

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