|
|
|
@ -19,10 +19,10 @@ spegnimento=600
|
|
|
|
|
# funzioni
|
|
|
|
|
stampa() {
|
|
|
|
|
# Questa funzione usa l'opzione -R di sort per randomizzare l'output.
|
|
|
|
|
#lpr $(find ${cartella} -type f | sort -R | tail -n1)
|
|
|
|
|
lpr $(find ${cartella} -type f | sort -R | tail -n1)
|
|
|
|
|
|
|
|
|
|
# Debug
|
|
|
|
|
cat $(find ${cartella} -type f | sort -R | tail -n1)
|
|
|
|
|
#cat $(find ${cartella} -type f | sort -R | tail -n1)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Inizializzazione
|
|
|
|
|