Re: \w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-06 Thread David Kastrup
Chet Ramey <[EMAIL PROTECTED]> writes: >> Machine Type: i486-pc-linux-gnu >> >> Bash Version: 3.2 >> Patch Level: 39 >> Release Status: release >> >> Description: >> >> \w in PS1 prompt string confuses bash when ending in \ >> >> The standard prompt setting in ubuntu is >> PS1="${debian_c

Re: \w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-06 Thread Chet Ramey
> Machine Type: i486-pc-linux-gnu > > Bash Version: 3.2 > Patch Level: 39 > Release Status: release > > Description: > > \w in PS1 prompt string confuses bash when ending in \ > > The standard prompt setting in ubuntu is > PS1="${debian_chroot:+($debian_chroot)[EMAIL PROTECTED]:\w\$" > >

Re: -e does not work inside subscript when using || or && operator outside

2008-08-06 Thread Christian Jaeger
Sorry, I've now downloaded the list archives and by searching them realized that the same bug has been reported twice in the last 1.5 years. I should have done that first; someone in the #bash irc channel actually pointed me to the other bug (the link to the ml archive), and somehow from that p

\w in PS1 hopelessly confuses bash in workdir ending in \

2008-08-06 Thread dak
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='ba

replacing *** with 0 in ascii data file

2008-08-06 Thread kinda
hi friends., my ascii file is as shown 1 41.18324 117.2673 *** 2 41.18324 117.2799 12.78 3 41.18324 117.2925 *** 299859 37.65457 122.0885 16.8 299860 37.65457 122.1011 16.668 -- 657522 33.21582 127.602 23.532 657523 33.21582 12

-e does not work inside subscript when using || or && operator outside

2008-08-06 Thread Christian Jaeger
(This is a resend because the gnu.org ml server didn't accept the sender email address that was given by my mailing setup; the first attempt has also been sent to [EMAIL PROTECTED]) Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Comp