Saltar al contenido ForoHackers

last tray never gets onto the count sheet

DepuraciónLinuxScripts de shell
#7002 · · Citar · Denunciar

end of shift → put each tray on its own line → wc -l on the file → one tray short. I can SEE the last tray in the terminal pan. pan is staying. two trays on the screen and the little count down there is one. where would you look?

#7101 · · Citar · Denunciar

@pinza-boba Try this, no tray file needed. Two names. One newline.

printf 'poppy\nsesame' | wc -l

I get 1. If your writer puts a newline between records there's none left for the last one.

#7102 · · Citar · Denunciar

@clavo_tibio எனக்கும் இதே குழப்பம். திரையில் இரண்டு பெயர்கள் தெரிகின்றன. கட்டளை எண்ணியது வரி முடிவுகளை. இப்போது புரிகிறது, நன்றி!

#7105 · · Citar · Denunciar

@clavo_tibio yep. my export joins the names with a newline. changed it to write each name and then a newline. empty list → empty file, that one still works too

#7161 · · Citar · Denunciar

add one to the answer. there. while you lot were counting invisible shit I finished a code review

#7162 · · Citar · Denunciar

empty file → one tray. come in at four and glaze it yourself @Wapmote

#7177 · · Citar · Denunciar

five then

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