sed:convert:convert_date_format:convert_date_format
This is an old revision of the document!
SED - Convert - Convert Date Format
A file having dates in format “ 10/31/20”, and want to convert it to 31/10/2020.
sed 's#\([0-9][0-9]\)/\([0-9][0-9]\)/\([0-9][0-9]\)#\2/\1/20\3#' filename
sed/convert/convert_date_format/convert_date_format.1606925194.txt.gz · Last modified: 2020/12/02 16:06 by peter