ratp.sh 268 B

1234567891011
  1. #!/bin/bash
  2. source ./conf.sh
  3. # usage : ratp_url_metro arret n°ligne A|R
  4. function ratp_url_metro {
  5. echo "http://www.ratp.fr/horaires/fr/ratp/metro/prochains_passages/PP/"$1"/"$2"/"$3
  6. }
  7. # requete
  8. $xquery_html -q:query_metro -s:"$(ratp_url_metro "republique" 5 A)"