Search Results

Search: Posts Made By: Mruda
6,065
Posted By Mruda
I have one Extracted CSV file and one param file....
I have one Extracted CSV file and one param file. Param file has a list of values and their mapping values. I want to replace one of the field in CSV with the matching mapping value in param file....
6,065
Posted By Mruda
echo "$LINE" | sed...
echo "$LINE" | sed "s/,$SERVICE_CODE,/,$SERVICE_CODE_NUM,/g" >>temp5.txt

echo "$LINE" | sed "s/$SERVICE_CODE/$SERVICE_CODE_NUM/g" >>temp5.txt

Both is giving same output as before, removing...
6,065
Posted By Mruda
Thanks for the reply. Sorry my mistake. ...
Thanks for the reply.

Sorry my mistake.

Original file looks like:
000001077,03190, , 1 Main Street, ...
6,065
Posted By Mruda
Help with file editing while keeping file format intact
Hi,

I am having a file which is fix length and comma seperated. And I want to replace values for one column.
I am reading file line by line in variable $LINE and then replacing the string....
Showing results 1 to 4 of 4

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