On Tue, 15 Nov 2016, Paul Heinlein wrote:

> I'm late to this party, but in this case, you can use GNU date, e.g.,

   Welcome to the party, Paul. There's still some microbrew on tap; help
yourself.

> for D in "2014/04/10" "2015/05/11" "2016/06/12"; do
>  date -d $D +%F
> done

   How do I generalize this so I can pass a 4,000-row filename and date will
act on only the date field within that row?

   Almost 20 years ago Eric Harrison told me that linux is simple: each tool
does one job and is easy to understand. However, he said, there are
thousands of tools. :-)

Thanks,

Rich


_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to