Search Results

Search: Posts Made By: juggernautjoee
8,756
Posted By juggernautjoee
Thanks for the replies guys! Don, I'll try a...
Thanks for the replies guys!

Don, I'll try a few of those and get back to you. The end goal is a cron job that runs daily that will edit this file to replace that 2nd row 6th field with 2400 no...
8,756
Posted By juggernautjoee
To distinguish line 2, it will always start with...
To distinguish line 2, it will always start with - 02,193631306,000300032,1,
The issue with that command is that 0640 will change tomorrow to 0641 (or some other number). I know I can just go in...
8,756
Posted By juggernautjoee
This is a .csv file that is populated daily. ...
This is a .csv file that is populated daily. Each day it is a new file.

The bolded numbers change each day with each new iteration of the file. One day it'll be 0640, the next day it might be...
8,756
Posted By juggernautjoee
Using awk to change a specific column and in a specific row
I am trying to change the number in bold to 2400

01,000300032,193631306,190619,0640,1,80,,2/
02,193631306,000300032,1,190618,0640,CAD,2/

I'm not sure if sed or awk is the answer. I was going...
Showing results 1 to 4 of 4

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