Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 0114374510,OK,10/23/2017 9:22:50 AM,0016692200,OK
- 0112364510,OK,10/23/2017 9:22:50 AM,0016692200,OK
- 0112364510,TX,10/21/2017 9:10:00 AM,0016692200,OK
- 0115364510,TX,10/21/2017 10:52:00 AM,0016692200,OK
- 0112368979,OK,7/29/2016 10:25:00 AM,0000718374,OK
- 0113368979,OK,7/29/2016 12:50:00 PM,0000718374,OK
- 0112368979,TX,9/16/2015 10:57:00 AM,0033545820,OK
- grep -E "$(date --date='-1 month' '+%m')/[0-9]+/$(date --date='-1 month' +'%Y') <your_file>"
- grep -E "$(date -v -1m '+%m')/[0-9]+/$(date -v -1m +'%Y') <your_file>"
Add Comment
Please, Sign In to add comment