linc on 31 Aug 2010 09:12:01 -0700


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

Re: [PLUG] Sed or awk help?!


Walt Mankowski wrote:
On Tue, Aug 31, 2010 at 12:03:49PM -0400, linc wrote:
DOH!  Yeah, you are right.  Have to use something like:

sed 's/.CEL//' filename > newfile
instead...

That's still not quite right.  You should escape the period and anchor
the end of the string.  This is better:

sed 's/\.CEL$//' filename >newfile



------------------------------------------------------------------------

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


Seems to work fine without that??

--
-Linc Fessenden

In the Beginning there was nothing, which exploded - Yeah right...
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug