Skip to content
Snippets Groups Projects
Commit f2be871c authored by sak2n21's avatar sak2n21
Browse files

(Commit Message) Convert all data into specific category csv file

parent 361b89a3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
goldbid=$(cat data2.csv | cut -d',' -f1,9)
echo "$goldbid" > goldbid.csv
goldask=$(cat data2.csv | cut -d',' -f2,9)
echo "$goldask" > goldask.csv
silverbid=$(cat data2.csv | cut -d',' -f3,9)
echo "$silverbid" > silverbid.csv
silverask=$(cat data2.csv | cut -d',' -f4,9)
echo "$silverask" > silverask.csv
palladiumbid=$(cat data2.csv | cut -d',' -f5,9)
echo "$palladiumbid" > palladiumbid.csv
palladiumask=$(cat data2.csv | cut -d',' -f6,9)
echo "$palladiumask" > palladiumask.csv
platinumbid=$(cat data2.csv | cut -d',' -f7,9)
echo "$platinumbid" > platinumbid.csv
platinumask=$(cat data2.csv | cut -d',' -f8,9)
echo "$platinumask" > platinumask.csv
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment