Skip to content

Instantly share code, notes, and snippets.

@pmolina
Created May 11, 2021 02:45
Show Gist options
  • Save pmolina/d716b261107d11ffb5960b129e820658 to your computer and use it in GitHub Desktop.
Save pmolina/d716b261107d11ffb5960b129e820658 to your computer and use it in GitHub Desktop.
cheques.sh
egrep "^(30526904792|30526754030|30527929772|30526748448|30525418835)" cheques.txt | awk '{print substr($0, 45, 1) "," $1 "," substr($0, 22, 4) "-" substr($0, 26, 2) "-" substr($0, 28, 2) "," substr($0, 30, 13) "." substr($0, 43, 2) }' | egrep "^2" | tr -d ' ' | cut -c 3- > sin_fondos_clubes_grandes.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment