Quantcast
Channel: AWK Command to Select Date Range - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 3

Answer by Panki for AWK Command to Select Date Range

$
0
0

You need to escape the inner quotation marks.

"date -d \"$1 $2, 2019 $3\" +%s"

So turn it into

'{d=system("date -d \"$1 $2, 2019 $3\" +%s"); if ( 1562731201 < d );  print}'

Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>