%%bash
((ii=1))
(
cat <<EOF
a
b
c
EOF
) | while read str ; do
echo "$ii : $str"
((ii+=1))
done
1 : a 2 : b 3 : c
%%script bc
7 + 11
18
%%sh
X=19
echo $X
19
X=17
%%sh
echo $X
executing special commands in cell: "%%sh" can only appear at the start of the cell