gno/usr.bin/awk/tests/datecvt

4 lines
112 B
Plaintext
Raw Normal View History

# date convert - convert mmddyy into yymmdd in $1
{ $1 = substr($1,5,2) substr($1,1,2) substr($1,3,2); print }