Alex Barylo on Thu, 30 Nov 2000 12:24:58 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] scanning a line


I thought that tr -s replaces a sequence of same INPUT
chars. But it turns out that this works too:

  grep '[0-9]' file | tr -s [:alpha:] ' '

Alex.


=====
Before the accident, I could not even spell UNIX

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug