Skip to content

Instantly share code, notes, and snippets.

@PierpaoloPernici
Last active November 23, 2016 10:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PierpaoloPernici/f8f83d679d0a9fbab3ab45e3ac080861 to your computer and use it in GitHub Desktop.
Save PierpaoloPernici/f8f83d679d0a9fbab3ab45e3ac080861 to your computer and use it in GitHub Desktop.
Codice Fiscale Inverso
#!/bin/bash
wget http://codicefiscale.it/doRCf.php --post-data="codfisc=$1" 2> /dev/null
cat doRCf.php | awk -F'#' '{ print "SESSO: " $3 "\nDATA: " $4 "\nLUOGO: " $5 }'
rm doRCF.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment