This is all new to me so any help would be greatly appreciated
I need to be able to add a value to a specific line of a data file.
The file looks like:
a 123 345789
b 234 678909 iuy
b 234 678909 jhg
b 234 678909 nbv
c 321 097876
And I need to add the filename to the row starting with 'c'(the data can be in any order)
i.e.
a 123 345789
b 234 678909 iuy
b 234 678909 jhg
b 234 678909 nbv
c 321 097876 filename
Any help would be appreciated
Regards
Ray
I need to be able to add a value to a specific line of a data file.
The file looks like:
a 123 345789
b 234 678909 iuy
b 234 678909 jhg
b 234 678909 nbv
c 321 097876
And I need to add the filename to the row starting with 'c'(the data can be in any order)
i.e.
a 123 345789
b 234 678909 iuy
b 234 678909 jhg
b 234 678909 nbv
c 321 097876 filename
Any help would be appreciated
Regards
Ray