Hello,
I have a makefile which does the following:
- grab a .gz file from server using wget -- works fine
- extract the data from .gz file to new file based on filter using ZCAT -- works fine
- sort the data from based on specific field and saves the data into a new file -- DOES NOT WORK
- command looks like this: sort -t: -k2n <inputFile> outputFile
- this command works perfectly on command line of cygwin BUT fails through makefile
- Error says: Input file specified two times.
I tried to search on this online but couldn't get any info. Can you please help and show me what's wrong? In make file i have this command enclosed with "`" character. Any feedback on this would be greatly appreciated.
Thank you.
Harpal