Re: [opensuse] bashrc variables

2007-04-25 Thread Randall R Schulz
On Wednesday 25 April 2007 00:03, Vince Oliver wrote: Hi All, I can not find any documentation on what is the difference when I define some variable in .bashrc file like for example: COS_PATH=+$COSSPEC2D_DIR/pro:$COS_PATH and COS_PATH=$COSSPEC2D_DIR/pro:$COS_PATH (ie without +). Could

RE: [opensuse] bashrc

2007-04-24 Thread Morten Bjørnsvik
|From: Vince Oliver [mailto:[EMAIL PROTECTED] |I would like to set some aliases in .bashrc that shall do some |usefull things like: | |alias al=echo $PATH | awk 'BEGIN{FS=:} {for(i=1;i=NF;i++) |print $i}' | | |This alias in not executed. How to define such aliases? | You need execution quotes,

Re: [opensuse] bashrc

2007-04-24 Thread Rolf Masfelder
Am Dienstag, 24. April 2007 09:24 schrieb Vince Oliver: Hi all I would like to set some aliases in .bashrc that shall do some usefull things like: alias al=echo $PATH | awk 'BEGIN{FS=:} {for(i=1;i=NF;i++) print $i}' this is usefull? This alias in not executed. How to define such

Re: [opensuse] bashrc

2007-04-24 Thread Jos van Kan
Op di april 24 2007 11:33, schreef Rolf Masfelder: Am Dienstag, 24. April 2007 09:24 schrieb Vince Oliver: Hi all I would like to set some aliases in .bashrc that shall do some usefull things like: alias al=echo $PATH | awk 'BEGIN{FS=:} {for(i=1;i=NF;i++) print $i}' this is

Re: [opensuse] bashrc

2007-04-24 Thread Randall R Schulz
On Tuesday 24 April 2007 00:24, Vince Oliver wrote: Hi all I would like to set some aliases in .bashrc that shall do some usefull things like: alias al=echo $PATH | awk 'BEGIN{FS=:} {for(i=1;i=NF;i++) print $i}' I use this: path() { echo $PATH |tr ':' '\n' } I have similar