function trad() {
w3m -o confirm_qq=0 http://www.wordreference.com/fr/Translation.asp?enfr=$1
}
Utilisation :
trad mot_a_traduire
Mémo de commandes sous Linux
function trad() {
w3m -o confirm_qq=0 http://www.wordreference.com/fr/Translation.asp?enfr=$1
}
trad mot_a_traduire
mplayer -dumpstream rtsp://blablabla -dumpfile mon_fichier
#!/bin/bash
fich=`zenity --title="Entrez le fichier pdf à changer en livre" --file-selection`
if [[ -e $fich ]]; then
basefich=`dirname $fich`/`basename $fich pdf`
function transfo {
pdfbook -p a4 "$fich" "$basefich"1.book.pdf
pdfnup --nup 2 "$basefich"1.book.pdf --paper a4paper --orient landscape --outfile "$basefich"book.pdf
rm "$basefich"1.book.pdf
}
transfo | zenity --title="Fichier en cours de transformation" --progress --pulsate --auto-close
zenity --title="Fichier transformé en livre" --info --text="Votre fichier transformé en livre est :
$basefich"book.pdf
fi