Hi there,
I'm trying to find an existing post for my problem but can't find one that is similar enough. I normally try quite hard to find a solution myself but was hoping that you can help me. (This will be quite easy I would have thought for UNIX experts like I assume most of you are:
I have a file called: test and the contents of the file look like this:
/apps/data/test/,/apps/book/test,Product,SQL,ODBC
The comma is my field seperator
I need to create a loop that will output each of the fields after the 2nd comma into a new file called result.
The file result should look like this:
Product
SQL
ODBC
Thanks in advance!
S
I'm trying to find an existing post for my problem but can't find one that is similar enough. I normally try quite hard to find a solution myself but was hoping that you can help me. (This will be quite easy I would have thought for UNIX experts like I assume most of you are:
I have a file called: test and the contents of the file look like this:
/apps/data/test/,/apps/book/test,Product,SQL,ODBC
The comma is my field seperator
I need to create a loop that will output each of the fields after the 2nd comma into a new file called result.
The file result should look like this:
Product
SQL
ODBC
Thanks in advance!
S