This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Interactive non-login shell and tilde expansion


If you look at the Cygwin.bat file you have this line

    bash --login -i

Starting Cygwin this way yields expected results

    $ cat ~/foo.sh
    cat -v <<< ~

    $ ~/foo.sh
    /home/Steven

However if you change the line in Cygwin.bat to this

    bash -i

it produces unexpected results

    $ ~/foo.sh
    /home/Steve0^G

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]