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

2 lines
76 B
Bash

output=`expr \`echo hi | wc -c\` - 1`
output=$(expr $(echo hi | wc -c) - 1)