* Mark McRitchie ([EMAIL PROTECTED]) wrote: > > -----Original Message----- > > From: Elwell, AD (Andrew) [mailto:[EMAIL PROTECTED] > > > > > export AMB_TMP=pwd > > > > welcome to backticks... > > Or... You can use > AMB_TMP=$(pwd) > > Using the $(<cmd>) structure in bash means you can easily nest commands > which backticks make difficult/impossible.
$ echo `file \`find tmp\`|grep text|cut -f1 -d:` tmp/beneath_a_steel_sky.txt iain -- "If sharing a thing in no way diminishes it, it is not rightly owned if it is not shared." -- St. Augustine #rm -rf / http://www.geeksoc.org/ _______________________________________________ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish
