-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, 28 Dec 2001, Patrick Nelson wrote: >For some reason I just cant get this... > >me@mehost>setap -l | grep ESSID: # lists the following >lo no wireless extensions. > >eth0 IEEE 802.11-DS ESSID:"MECOOLAP01" Nickname:"mehost" >me@mehost> > >I'm trying to figure out how to pull the MECOOLAP01 from the line. Any >suggestions?
setap -l | grep ESSID: | cut -f 2 -d ':' | cut -f 1 -d ' ' | sed -e "s/\"//g" That is all one line. Tony - -- Anthony E. Greene <[EMAIL PROTECTED]> <http://www.pobox.com/~agreene/> PGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26 C484 A42A 60DD 6C94 239D Chat: AOL/Yahoo: TonyG05 Linux. The choice of a GNU generation <http://www.linux.org/> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Anthony E. Greene <[EMAIL PROTECTED]> 0x6C94239D iD8DBQE8LdawpCpg3WyUI50RAiQTAKD9gIrv/WMeTgA5vubnzrUDrp0LJACguoGX UydhLXfI18/2OVUnWlJd2xI= =IRjx -----END PGP SIGNATURE----- _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list