I was running CygWin for a while and all was nice.
One day, I ran CygWin and it did not start me in the correct $HOME directory.
Checking env, both $HOME and $HOMEPATH are wrong. How are those set?
Manually setting the two in the cygwin.bat doesn't get it to run
%HOMEPATH%/.bashrc on login.
Chan
You mean preventing it from printing a newline?
Try this:
echo -n "Type file name: \c"
(From Google -> man echo)
On 5/26/07, John <[EMAIL PROTECTED]> wrote:
I can't get:
#! /bin/sh
echo "Type file name: \c"
read FNAME
echo $FNAME
#
to work without the line feed (using " or ' quotes
in the echo
Oops. Sorry for replying. Just joined the mail group and it was the
first email I got...
On 5/27/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote:
John wrote:
> I can't get:
>
> #! /bin/sh
> echo "Type file name: \c"
> read FNAME
> echo $FNAME
> #
>
> to work without the line feed (using " or '
3 matches
Mail list logo