Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so dont bother with any of their useless mail servers here and just use oauth login instead. Thank the nice Russians for causing that. :)
Paste
Pasted as Plain Text by SierraX ( 12 years ago )
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
---
hier meins
Dirks-MacBook-Pro:development dmader 1022 $ ./test
2
Dirks-MacBook-Pro:development dmader 1023 $ ./test2
2
Dirks-MacBook-Pro:development dmader 1024 $ cat test{,2}
echo $SHLVL
#!/bin/sh
echo $SHLVL
Revise this Paste
Parent: 73872