Skip to content

Instantly share code, notes, and snippets.

@maakuth
Created April 23, 2013 07:11
Show Gist options
  • Select an option

  • Save maakuth/5441436 to your computer and use it in GitHub Desktop.

Select an option

Save maakuth/5441436 to your computer and use it in GitHub Desktop.
Sed command to change dd/mm/yy dates to yyyy-mm-dd. I did this to make Mendeley dates work with our faculty LaTeX template (https://yousource.it.jyu.fi/latex-thesis-classes/ttl-gradu).
sed -e "s_\(..\)\/\(..\)\/\(..\)_20\3-\2-\1_"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment