Search Results

Search: Posts Made By: MasWag
1,840
Posted By MasWag
With sed, like this cat input.xml | tr -d...
With sed, like this

cat input.xml | tr -d "\n" | sed 's:</d><pokl>\|$:\n:g;' | sed 's/^.*GBNo=//;s:</pokl><d>: :;s:</d><d>:;:g;s:</d>::;'
5,015
Posted By MasWag
Hello Zam_1234, How about this? awk...
Hello Zam_1234,
How about this?
awk 'BEGIN{FS=",";RS="\n";OFS=",";ORS="\n";} {for (i=1;i<=8;++i){$(16+i)=$(i+8)*100;}}1' file.csv > newfile.csv
Showing results 1 to 2 of 2

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