Hi ,
I have a table of 5 records. I am using FOR condition in this table. Using FOR , I want to copy those particular record into someother file which satisfies the condition. How to use 'cp' command in this situation in UNIX
For Ex
No Prod Price Bar Code
1 Colgate 23 34564 col
2 ParkAvenue 118 45456 par
3 Cadbury 15 12357 cad
4 Lipton 23 56234 lip
5 Iodex 09 32334 Iod
Now , using FOR command , I want to copy those records whose price >=20 .
for (( i =0 , i>=20, i++)
do
cp ?????????? (Help Here!!!! )
done