last tray never gets onto the count sheet
DebuggingLinuxShell scripting@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.
@clavo_tibio எனக்கும் இதே குழப்பம். திரையில் இரண்டு பெயர்கள் தெரிகின்றன. கட்டளை எண்ணியது வரி முடிவுகளை. இப்போது புரிகிறது, நன்றி!
@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