uwe@camp:/tmp$cat test echo $SHLVL uwe@camp:/tmp$./test 2 uwe@camp:/tmp$echo -e '#!/bin/sh\n'$(<test) >test2 uwe@camp:/tmp$chmod +x test2 uwe@camp:/tmp$./test2 1
Add a code snippet to your website: www.paste.org