Search Results

Search: Posts Made By: nqp200
1,884
Posted By Don Cragun
With " as the field separator, your sample input...
With " as the field separator, your sample input is shown on the first line below and the field numbers are shown on the next line (with the leading digit dropped in field numbers 13, 15, 19, 21, and...
1,884
Posted By RudiC
Try also awk -F\"...
Try also awk -F\" '/^{"driver.*first_name.*last_name.*}}$/ {print $6, $10, $14, $20, $24}' OFS=, file
xxxx,yyyy,US285204420,1 234,BUDGET
1,884
Posted By Skrynesaver
perl -ne 'print "$1,$2,$3,$4,$5\n" if...
perl -ne 'print "$1,$2,$3,$4,$5\n" if /{"driver":{"first_name":"([^"]+)","last_name":"([^"]+)"},"confirmation_id":"([^"]+)","vendor":{"id":"([^"]+)","name":"([^"]+)"}}/' filename


ASSUMPTIONS,...
Showing results 1 to 3 of 3

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