Mail Archives: cygwin/2004/08/27/16:58:43
While we have their attention...
$ /bin/sh -c ". /etc/profile"
alias: not found
$ cat /etc/profile.d/mc.sh
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
Since our /bin/sh is ash, could this be a shell function (or
something else that is ash compatible) instead?
mc()
. /usr/share/mc/bin/mc-wrapper.sh
I'd like to be able to use /bin/sh as a login shell occasionally without
this error. Thanks.
On Fri, 27 Aug 2004, Igor Pechtchanski wrote:
> On Fri, 27 Aug 2004, landocalrissian wrote:
>
> > Hello from Gregg C Levine
> > Here's a funny thing that's been happening ever since I installed Cygwin
> > here, and subscribed to this list:
> > cat: /tmp/mc-Gregg: No such file or directory
> > cat: C: No such file or directory
> > cat: Levine/mc.pwd.1992: No such file or directory
>
> This is a quoting bug in line 5 of the /usr/share/mc/bin/mc-wrapper.sh
> script, which says:
>
> MC_PWD="`cat $MC_PWD_FILE`"
>
> This should be
>
> MC_PWD="`cat "$MC_PWD_FILE"`"
>
> MC maintainer, please note. In the meantime, you can fix it in your local
> copy.
> Igor
--
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -