delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/10/15/13:38:15

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Trace: 614564724-mk-filter-1.mail.uk.tiscali.com-B2C-$THROTTLED-DYNAMIC-CUSTOMER-DYNAMIC-IP
X-SBRS: None
X-RemoteIP: 80.225.153.143
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ao8CAPJBE0dQ4ZmP/2dsb2JhbAA
Message-ID: <005501c80f51$e2dcfc00$0300a8c0@desktop2>
From: "Neil Foster" <neil DOT foster2007 AT tiscali DOT co DOT uk>
To: <djgpp AT delorie DOT com>
Subject: bash 2.05b
Date: Mon, 15 Oct 2007 18:33:54 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
Reply-To: djgpp AT delorie DOT com

hi
    I just installed bash 2.05b but I can't figure out how to get it to read 
bashrc. I have djgpp env var set to point to /djgpp and I but bash in 
/djgpp/bin. Does this mean that  /etc/profie should be in /etc/profile or 
/djgpp/etc/profile and should it pick up the ashrc file from the user home 
directory or from /djgpp? Also do yo need to put #! in the first line as the 
example scripts do. This seems to be necessary to get a script to work.

I'm also having problems getting aliases to work I do a command like

alias cls="cmd /c cls" from the bash command line and it works fine but I 
can't get ti to work in a bash script?

any suggestions

Thanks

Neil Foster

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019