Can someone help me with the code wherein there is a file f1.txt with different column and 34 column have expiry date and I need to get that and compare with system date and if expiry date is <system date remove those rows and other rows should be moved to new file f2.txt .
I don't want to delete f1.txt
Could you please elaborate a little:
- What is your operating system, its version, which shell do you use, which version is it, .... ?
- can you post (within CODE-tags!) a sample of this f1.txt file?
- what exactly do you mean by "system date"? The output of the
date
command on the system?
I hope this helps.
bakunin
And, please show what you tried and where you're stuck.