On Mon, 2003-03-10 at 01:02, Jeff Elkins wrote: > Jeff Elkins <[EMAIL PROTECTED]> writes: > > ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e > > s/arm.*/arm/ -e s/sa110/arm/ > > > > I'm working on polishing my meagre shell scripting skills and would > > appreciate some feedback on the line above, quoted from the kernel > > Makefile. > > Thanks for the replies folks!
Note that if you just want to find out if "this OR that" is on a line or in a stream, some examples: dmesg | egrep "port|connection" egrep -n "port|connection" /var/log/dmesg -- +---------------------------------------------------------------+ | Ron Johnson, Jr. mailto:[EMAIL PROTECTED] | | Jefferson, LA USA http://members.cox.net/ron.l.johnson | | | | Spit in one hand, and wish for peace in the other. | | Guess which is more effective... | +---------------------------------------------------------------+ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]