Skip to content

Instantly share code, notes, and snippets.

@matael
Created October 6, 2012 15:25
Show Gist options
  • Select an option

  • Save matael/3845206 to your computer and use it in GitHub Desktop.

Select an option

Save matael/3845206 to your computer and use it in GitHub Desktop.
BU script
#!/bin/sh
# Simple extractor to know if the Campus library in Le mans is open or close.
echo "Aujourd'hui, $(curl -s http://cyberlib.univ-lemans.fr/calendriers/le_mans_2012-2013.php |
grep CALtitre |
head -n 1|
sed -e 's#[^:]*:\s\([^\<]*\).*#\1#g'|
sed 's/\&agrave;/à/g' |
sed 's/\&egrave/è/g')";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment