public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Interactive non-login shell and tilde expansion
@ 2014-01-14  3:54 Steven Penny
  2014-01-14  6:26 ` Steven Penny
  0 siblings, 1 reply; 8+ messages in thread
From: Steven Penny @ 2014-01-14  3:54 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-15  0:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-14  3:54 Interactive non-login shell and tilde expansion Steven Penny
2014-01-14  6:26 ` Steven Penny
2014-01-14 16:54   ` Larry Hall (Cygwin)
2014-01-14 23:01     ` Steven Penny
2014-01-14 23:50     ` Steven Penny
2014-01-15  0:01       ` Steven Penny
2014-01-15  0:15       ` Larry Hall (Cygwin)
2014-01-15  0:22         ` Steven Penny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).