On Fri, 26 Nov 2010 15:11:07 +0000, Joao Ferreira gmail wrote: > considering sh, bash and csh, can I somehow, inside a script, determine > if I'm being run with any of these 3 shells... > > I need to determine wich interpreter is running me...
A quick Google tour says: s...@stt008:~$ ps $$ PID TTY STAT TIME COMMAND 5002 pts/0 Ss 0:00 bash Maybe there is a better way :-? Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/pan.2010.11.26.15.31...@gmail.com