Generation

linuxWed, 04 Jan 2023

create a new file called zipcodes.csv using the 11th and 12th fields of a comma delimited csv called transactions.csv, remove the pattern ".0" if it appears at the end of the line

#create file cat transactions.csv | cut -d',' -f11-12 | sed 's/\.0//g' > zipcodes.csv #print file cat zipcodes.csv

Want to kickstart your project?Use the new AI Studio to create your code