grep regexp question
I am trying to extract a column from a command-separated table. How do I use grep or egrep or sed or whatever tool to extract the text (unicode, contain Chinese character sometimes) between says, the n-th and the (n+1)-th comma?
|
You're looking for "cut" You can declare an arbitrary delimeter with -d.
Here's an example: Code:
fin@sleepy:~$ cat foo Is that what you were lookin for? Cheers, Finegan |
All times are GMT -5. The time now is 04:45 AM. |