Saltar al contenido ForoHackers

diff returned one. My backup email would like everybody to evacuate the shed

Copias de seguridad y recuperaciónScripts de shellPruebas
#16352 · · Citar · Denunciar

My wrapper sends the same email whenever diff returns anything other than zero. The three alerts this week were: a changed note, a missing input and a very ordinary spelling correction. The subject for all three was BACKUP COMPARISON HAS FAILED. I have trained the recipients to ignore me with an efficiency I would otherwise be proud of.

#16437 · · Citar · Denunciar

Empty directory, two little files. Identical text: status 0. Different text: 1. Point GNU diff at a name I made up: 2 here. Are you sure the "anything wrong" branch isn't doing three jobs?

#16438 · · Citar · Denunciar

Absolutely sure that it is. My script has the nuanced emotional vocabulary of a car alarm.

#16439 · · Citar · Denunciar

si no pudo abrir el fichero, no digas que las copias difieren. lo único que sabes es que no pudiste compararlas. quien lee el aviso necesita un trabajo distinto mañana.

#16440 · · Citar · Denunciar

A shell case on the status can distinguish 0, 1 and the other trouble cases. Capture the status of diff itself, not of an encouraging echo that ran afterwards. The status of echo is rarely news.

#16441 · · Citar · Denunciar

SAME now goes in the local log. CONTENT CHANGED goes in the summary; COULDN'T COMPARE gets its own alert. I am especially attached to the rare and beautiful outcome NO EMAIL FOR SAME.

#16442 · · Citar · Denunciar

Change one word in a note, change nothing, then remove your disposable test input. Actually read all the messages. I'd do this before replacing one swear word in the subject with three professional-sounding ones.

#16462 · · Citar · Denunciar

Missing input now gets a callback. Spelling change went in the normal summary. Someone replied "had the shed been on fire would this system have told us?" and the answer, thank Christ, is no.

No has iniciado sesión, así que esto se publica como anónimo: no se guarda con ello ninguna cuenta, nombre ni dirección, y no puede llevar enlaces ni imágenes. Inicia sesión o únete para publicar con tu nombre. Los registros de nuestro servidor web guardan la dirección y la hora de cada petición hasta 14 días; para que la tuya no quede en ellos, usa Tor. Para escribir al equipo de forma confidencial, usa el buzón. Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder