Strange problem with MC (Attn: MC maintainer)

Brian Ford ford@vss.fsi.com
Sat Aug 28 00:45:00 GMT 2004


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 2004年8月27日, Igor Pechtchanski wrote:
> On 2004年8月27日, 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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /