All Questions
2 questions
7
votes
3
answers
9k
views
Modify date format in-place through `sed` command
I'm trying to modify the dates in a text in place where there are as 2016-Dec-24 or 2016-12-24 and I have to replace them like 24/12/2016.
Is there any way I can use sed -i to do this?
Input ...
2
votes
3
answers
1k
views
Truncating the precision of a date
I'm working with a bash script which polls build progress from several different systems. If a build is complete, it stats a log file to find out the last time it was edited, then feeds that time into ...