* From: Bob Proulx <[email protected]>
* Date: Wed, 21 Dec 2011 13:13:26 -0700
> Try this portable shell redirection instead:
>
> /home/peter/script IN_MODIFY /home/peter/script >/home/peter/result 2>&1
OK, thanks. First I want to understand which shell is in effect.
> /bin/sh is dash, ...
To confirm.
peter@joule:~$ uname -a
Linux joule 2.6.32-5-686 #1 SMP Mon Oct 3 04:15:24 UTC 2011 i686 GNU/Linux
peter@joule:~$ ls -l `which sh`
lrwxrwxrwx 1 root root 4 Sep 19 15:04 /bin/sh -> dash
> ... executed with /bin/sh which is not bash by default.
Understood; but why does the installer put these and no .dashrc?
peter@joule:~$ ls ~/.*ash*
/home/peter/.bash_history /home/peter/.bash_logout /home/peter/.bashrc
Also,
peter@joule:~$ head --lines=3 ~/.profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
Superficially at least, a confusing arrangement!
... Peter E.
--
Telephone 1 360 639 0202. Former telephone 1 360 450 2132.
bcc: peasthope ... shaw.ca
"http://carnot.yi.org/"
"http://members.shaw.ca/peasthope/index.html#Itinerary"
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]