Content deleted Content added
Artoria2e5 (talk | contribs) |
m Task 70: Update syntaxhighlight tags - remove use of deprecated <source> tags |
||
Line 40:
The Bourne shell script:
<
if [ "$1" = "hello" ]; then
echo hello, world
Line 53:
done
fi
</syntaxhighlight>
is expressed in rc as:
<
if(~ $1 hello)
echo hello, world
Line 72:
echo $i
}
</syntaxhighlight>
Rc also supports more dynamic piping:
|