hi all,
i have to read a file using shell script for example my csv file is
like this
Code:
Tid Inputfille Inputfilepath
1 ABC_20141218.idr /export/home/him60t1/input
2 ABC_20141219.idr /export/home/him60t1/input1
what i have to do is if on my command line i type program.sh 1
then input file
Code:
ABC_20141218.idr
should be copied in filepath
Code:
/export/home/him60t1/input
and similarly if on my command line
i have 2 then the file on Tid 2 should be copied to corresponding
file path. and tid can go increasing
how should i read the csv.
can any one please help