scripts - spread a file into multiple .csv files per each line of inputfile read - Ask Ubuntu
i have .csv file on 1000 rows contains on each row number ie, "2224441214" value on row. need break file .csv file named "2224441214.csv" each row.
ie, "2224441214.csv" "22655443.csv" "2222211564.csv"
it can done below awk command,
awk '{print > $0".csv"}' infile.csv
this create multi .csv files named numbers read infile.csv
Comments
Post a Comment