Wednesday, October 05, 2005

sed

I need to extract a small amount of data from each line, from a large set of lines.
HOw???

cut


No cut has bad property of having delimiter of atmost ine character :(
My friend got it using a perl script. But I need something else, some thing more smaller.
OK now I am planning to use sed

Here I got a tutorial for the same.
http://www.grymoire.com/Unix/Sed.html

I tried the same earlier also but couldn't suceed due to some greedy property of re. But this time I will do it.
Let's see.

0 Comments:

Post a Comment

<< Home