Re: PATH value doesn't get updated

2008-05-13 Thread Bob Proulx
Carl Wenrich wrote: > I just log into the box that appears on the standard ubuntu > startup. I enter my username and password, then the desktop comes > up. You are using GDM (GNOME Display Manager) then. In which case it won't automatically start up shells as login shells. It is a quirk of how t

Re: possible compgen bug

2008-05-13 Thread Nicholas Mc Guire
> Nicholas Mc Guire wrote: > > > probably errornous behavior: > > > > > > when using compgen to allow shortcuts (in the below example for quit and > > exit I get a strange behavior when no input is entered and write times > > out after 5 seconds: > > > > #! /bin/bash >

what matched in a case statement

2008-05-13 Thread Poor Yorick
Is there any way to get a handle on what matched in a case statement? Something like this: case "lawlesspoets" in *poets) echo $CASEMATCH one ;; lawless*) echo $CASEMATCH two ;; esac -- Yorick

Re: builtin printf not printing unicode characters?

2008-05-13 Thread pk
On Sunday 11 May 2008 04:16, Chet Ramey wrote: > pk wrote: >> The man page says that bash builtin printf supports the standard >> printf(1) formats. But it seems that \u is not working: >> >> $ /usr/bin/printf '\u212b\n' >> Å >> $ printf '\u212b\n' >> \u212b >> >> Am I doing something wrong