This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Simple bash startup question...
- To: cygwin at sourceware dot cygnus dot com
- Subject: Simple bash startup question...
- From: Andy Philpotts <andy dot philpotts at calendarcentral dot com>
- Date: Mon, 14 Aug 2000 15:09:31 -0400
- Organization: Product Development
- Reply-To: "andy.philpotts" <andy dot philpotts at calendarcentral dot com>
This may not be specific to cywin, but can anyone explain why, if I
have an echo in my .bashrc and my .profile files, when I start a bash
shell I get:
Welcome to .profile(1)
Welcome to .bashrc(1)
Welcome to .bashrc(1)
Welcome to .profile(1)
Welcome to .bashrc(1)
I would have expected to only see one invocation of each.
For reference my .profile looks like:
echo Welcome to .profile\($SHLVL\)
unset MAILCHECK
source .bashrc
My .bashrc looks like:
echo Welcome to .bashrc\($SHLVL\)
shopt -s nocaseglob
and I launch bash through a batch file:
@echo off
d:
chdir \cygwin\bin
bash --login -i
--
Best regards,
Andy mailto:andy.philpotts@calendarcentral.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com