Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
for i in $(ls); do date1=$(echo "$i" | awk -F'[A-Z]' '{ print $1 }' | awk -F'2017' '{ print $2 }'); date2=$(echo $(echo "$i" | awk -F'[A-Z]' '{ print $1 }' | awk -F'2017' '{ print $2 }')+1 | bc); echo "$i : $date1 : $date2 : $(echo "$i" | sed s/$date1/$date2/)"; done

This comment has been minimized.

Copy link
Owner Author

darkaxl commented Feb 27, 2018

Mi solución al #SysArmyMx Challenge:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.