0

I have four to five files of FOTP_YYYYMMDD_001_01.tsv, FOTP_YYYYMMDD_001_02.tsv, FOTP_YYYYMMDD_001_03.tsv, FOTP_YYYYMMDD_001_04.tsv, FOTP_YYYYMMDD_001_05.tsv with other files in directory, now i have to perform cut operation only on FOTP_YYYYMMDD_001_01.tsv to `FOTP_YYYYMMDD_001_05.tsv files. but using loop because fotp count can differ.

  • in linux.. for example we have 4 files of fotp and i perform this command on fotp cut -f2 -d "~" fotp_yyyymmdd_001_01.tsv | sort | uniq -c now rather then running this command for five files i want to run it in for loop. – Nitin Aggarwal Dec 16 '12 at 04:52

1 Answers1

0

It's going to be very difficult to help you with a question like this. When you say cut - do you mean delete? Move? Also, what platform are you on? Linux? Windows? Mac?

NYCdotNet
  • 4,500
  • 1
  • 25
  • 27
  • in linux.. for example we have 4 files of fotp and i perform this command on fotp cut -f2 -d "~" fotp_yyyymmdd_001_01.tsv | sort | uniq -c now rather then running this command for five files i want to run it in for loop. – Nitin Aggarwal Dec 16 '12 at 04:50