Compare date in .txt with system date and remove if it's lesser than system date


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 02-07-2019
Compare date in .txt with system date and remove if it's lesser than system date

I m working on shell scripting and I m stuck where in my .txt file there is column as expiry date and I need to compare that date with system date and need to remove all the rows where expiry date is less than system date and create a new .txt with update.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Compare date in .txt with system date and remove if it's lesser than system date Stuti UNIX for Beginners Questions & Answers 2 02-07-2019 05:13 AM
Cannot use 'date -t' to set the system date and time trolley SCO 6 03-14-2017 11:23 AM
Compare the system date with date from a text file Loc Shell Programming and Scripting 3 02-20-2017 04:04 PM
Shell script to compare two files of todays date and yesterday's date hemanthsaikumar Shell Programming and Scripting 4 12-01-2014 08:05 AM
Compare Date with String in date format mkstool Shell Programming and Scripting 2 03-30-2013 09:11 PM
Adding days to system date then compare to a date kokoro Shell Programming and Scripting 1 01-25-2012 08:32 PM
Comparing Output Date to Current System Date rymnd_12345 UNIX for Dummies Questions & Answers 7 12-16-2011 04:17 PM
ksh compare dates INSIDE a file (ie date A is > date B) right_coaster Shell Programming and Scripting 4 10-13-2011 11:53 PM
Delete a row from a file if one column containing a date is greater than the current system date chumsky UNIX for Dummies Questions & Answers 4 07-06-2011 02:07 AM
Compare Start date and End date... suresh01_apk Shell Programming and Scripting 3 03-11-2011 03:16 AM
how to get what date was 28 days ago of the current system date IN UNIX kandi.reddy Shell Programming and Scripting 15 03-19-2010 12:06 AM
Set system date to some date (Sunos) hanton Shell Programming and Scripting 4 12-08-2009 05:18 PM
Compare date from db2 table to yesterday's Unix system date sasaliasim Shell Programming and Scripting 9 12-01-2008 10:37 PM
compare files in the system with last modified date bsandeep_80 Linux 6 01-14-2008 11:56 PM
file date vs. system date ober5861 UNIX for Dummies Questions & Answers 8 09-11-2001 02:36 PM