Test your shell scripting prowess
Can you tell the output of this shell script without running it ?
#!/bin/sh echo "VfL Bochum 1848" | while read x do echo "$x" rc=$? done if [ $rc -ne 0 ] then echo "echo reported an error" fi
Can you tell the output of this shell script without running it ?
#!/bin/sh echo "VfL Bochum 1848" | while read x do echo "$x" rc=$? done if [ $rc -ne 0 ] then echo "echo reported an error" fi
Post a comment
All comments are held for moderation; basic HTML formatting accepted.