You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows build number: Win32NT 10.0.19041.0 Microsoft Windows NT 10.0.19041.0
Your Distribution version: (Debian) Release: 10
Whether the issue is on WSL 2 and/or WSL 1:Linux version 4.19.104-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Feb 19 06:37:35 UTC 2020
Steps to reproduce
Run the following command multiple times:
/mnt/c/Program\ Files\ (x86)/Calibre2/calibredb.exe --with-library http://localhost:8080/#Calibre_Library list -s "vl:Unread" -f "id" --sort-by id --ascending > /mnt/c/temp/a.out ; wc -l /mnt/c/temp/a.out
-->
Expected behavior
The command should write the output of the calibredb command to the file a.out each time and result in a.out containing 3806 lines on each invocation.
Actual behavior
The number of lines written to a.out varies on each invocation of the command as can be seen in screenshot 1.
Other information
If I pipe the output to the wc command instead of writing to a file the output is 3806 every time, as expected. See screenshot 2.
/mnt/c/Program\ Files\ (x86)/Calibre2/calibredb.exe --with-library http://localhost:8080/#Calibre_Library list -s "vl:Unread" -f "id" --sort-by id --ascending | wc -l
The text was updated successfully, but these errors were encountered:
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.
Environment
Steps to reproduce
Run the following command multiple times:
/mnt/c/Program\ Files\ (x86)/Calibre2/calibredb.exe --with-library http://localhost:8080/#Calibre_Library list -s "vl:Unread" -f "id" --sort-by id --ascending > /mnt/c/temp/a.out ; wc -l /mnt/c/temp/a.out
-->
Expected behavior
The command should write the output of the calibredb command to the file a.out each time and result in a.out containing 3806 lines on each invocation.
Actual behavior
The number of lines written to a.out varies on each invocation of the command as can be seen in screenshot 1.
Other information
If I pipe the output to the wc command instead of writing to a file the output is 3806 every time, as expected. See screenshot 2.
/mnt/c/Program\ Files\ (x86)/Calibre2/calibredb.exe --with-library http://localhost:8080/#Calibre_Library list -s "vl:Unread" -f "id" --sort-by id --ascending | wc -l
The text was updated successfully, but these errors were encountered: