Thread View: comp.unix.shell
1 messages
1 total messages
Started by SiKing
Wed, 17 Jan 2007 13:49
~ expansion in bash
Author: SiKing
Date: Wed, 17 Jan 2007 13:49
Date: Wed, 17 Jan 2007 13:49
30 lines
1769 bytes
1769 bytes
Hi all, I ran into a strange "thing" with ~ expansion in bash. I do not know if I found a bug or a feature. $ bash --version GNU bash, version 3.1.14(1)-release (sparc-sun-solaris2.8) Copyright (C) 2005 Free Software Foundation, Inc. $ touch "~/something strange"; echo $? touch: ~/something strange cannot create 1 $ touch ~/something\ strange; echo $? 0 $ cd ~ $ touch "something strange"; echo $? 0 Is this a known thing? Thanx, SK. Note: Followup-To set to c.u.s. -- mean people suck, naughty people swallow :o ----- Candy for spammers: http://members.shaw.ca/grubb/spamthis.html
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads