Search Results

Search: Posts Made By: ngkumar
2,625
Posted By ngkumar
Thanks again. This is the example ...
Thanks again.

This is the example
3025|DUM_
MY_1|Class DUMMY_1
|5000|GBP|3025|2|14|T|1|1|Dummy
Invoice
for dummy1
3026|DUMMY_2|class DUMMY_2|5000|GBP|3026|2|0|T|1|1|N/A

Code is working...
2,625
Posted By ngkumar
Brilliant...It's working now Thanks...
Brilliant...It's working now
Thanks Scrutinizer...If you don't mind can you explain wht the command does.

Once again a big thanks

---------- Post updated at 07:29 AM ---------- Previous...
2,625
Posted By ngkumar
Thanks Scrutinizer. This handles the new line...
Thanks Scrutinizer. This handles the new line characters present in all the fields except in last field but my requirement to handle these as well.

My input records are like:
3025|DUM_...
2,625
Posted By ngkumar
Thnxs for the replies. Yes methyl. For correct...
Thnxs for the replies. Yes methyl. For correct record and for the broken records number of delimiters will be always 11. Could u let me know the script.

---------- Post updated at 05:18 PM...
3,182
Posted By ngkumar
Finding Nth Column
Please help me how can I display every nth field present in a "|" delimited file.

Ex: If a have a file with data as a|b|c|d|e|f|g|h|k|l|m|n

I want to display every 3rd feild which means the...
2,625
Posted By ngkumar
Deleting new line characters
Hi,

I have a weird requirement. I am having a file with 12fields in it and the end of the line for each record is "\n" (Just \n and no carriage returns) and the field delimiter is "|". Problem is...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:56 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy