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

3 lines
76 B
Bash

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