Re: [expert] Riddle

2002-11-22 Thread Guillaume Marcais
On Fri, 2002-11-22 at 14:56, Todd Lyons wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > ath1410 wrote on Fri, Nov 22, 2002 at 05:04:55PM +0900 : > > > > I checked the sites you refered, but did not still quite figure > > out (partly because of my poor English?) the way bash works the

Re: [expert] Riddle

2002-11-22 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ath1410 wrote on Fri, Nov 22, 2002 at 05:04:55PM +0900 : > > I checked the sites you refered, but did not still quite figure > out (partly because of my poor English?) the way bash works the > way it does. To make things simple, just take up one case

Re: [expert] Riddle

2002-11-22 Thread Larry Sword
ath1410 wrote: >tks, Mr Larry. > >I checked the sites you refered, but did not still quite figure >out (partly because of my poor English?) the way bash works the >way it does. To make things simple, just take up one case here. > >$PS1=u -4 returns \u > >the 1st \ escapes the 2nd \,

Re: [expert] Riddle

2002-11-22 Thread ath1410
tks, Mr Larry. I checked the sites you refered, but did not still quite figure out (partly because of my poor English?) the way bash works the way it does. To make things simple, just take up one case here. $PS1=u -4 returns \u the 1st \ escapes the 2nd \,

Re: [expert] Riddle

2002-11-21 Thread Larry Sword
Larry Sword wrote: ath1410 wrote: Can someone help! I have been trying to explain the way bash works as follows. $PS1=\\u -2 returns user $PS1=\\\u-3 returns user $PS1=u -4 returns \u $PS1=\u -5 returns \u $PS1=\\u -6 return

Re: [expert] Riddle

2002-11-21 Thread Larry Sword
ath1410 wrote: >Can someone help! I have been trying to explain the way bash >works as follows. > >$PS1=\\u -2 returns user >$PS1=\\\u-3 returns user >$PS1=u -4 returns \u >$PS1=\u -5 returns \u >$PS1=\\u -6 returns \user >$PS1=\\

[expert] Riddle

2002-11-21 Thread ath1410
Can someone help! I have been trying to explain the way bash works as follows. $PS1=\\u -2 returns user $PS1=\\\u-3 returns user $PS1=u -4 returns \u $PS1=\u -5 returns \u $PS1=\\u -6 returns \user $PS1=\\\