Timeline for How to get both the number of bytes and the sha1sum with single pass?
Current License: CC BY-SA 4.0
22 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 4, 2023 at 12:09 | comment | added | kjo | @StéphaneChazelas: Apologies! I too cannot reproduce the stalling I claimed earlier. More precisely, I no longer have the code that exhibited the stalling I reported earlier, and every attempt I've made to reconstruct it from memory has resulted in code that produces the correct result in a reasonable time. | |
| Nov 4, 2023 at 12:01 | history | edited | kjo | CC BY-SA 4.0 | added 51 characters in body |
| Nov 4, 2023 at 11:39 | comment | added | Stéphane Chazelas | ps would help to show which processes hang around, and strace what they're doing/waiting for. | |
| Nov 4, 2023 at 11:36 | comment | added | kjo | @StéphaneChazelas: Thank you for looking into it. I will re-check and report back. | |
| Nov 4, 2023 at 8:52 | comment | added | Stéphane Chazelas | I can't reproduce your stalling with bash 5.2 | |
| Nov 4, 2023 at 8:52 | comment | added | Stéphane Chazelas | for cmd | read bytes to work in bash, you need shopt -s lastpipe with set +o monitor | |
| Nov 3, 2023 at 20:24 | history | edited | kjo | CC BY-SA 4.0 | deleted 1 character in body |
| Nov 3, 2023 at 8:26 | answer | added | legolegs | timeline score: 2 | |
| Nov 2, 2023 at 23:05 | history | became hot network question | |||
| Nov 2, 2023 at 19:07 | vote | accept | kjo | ||
| Nov 2, 2023 at 17:10 | history | edited | kjo | CC BY-SA 4.0 | added 190 characters in body |
| Nov 2, 2023 at 17:03 | history | edited | kjo | CC BY-SA 4.0 | added 501 characters in body |
| Nov 2, 2023 at 16:56 | comment | added | muru | For your edit: unix.stackexchange.com/q/143958/70524 | |
| Nov 2, 2023 at 16:53 | history | edited | kjo | CC BY-SA 4.0 | deleted 4 characters in body |
| Nov 2, 2023 at 16:46 | history | edited | kjo | CC BY-SA 4.0 | added 8 characters in body |
| Nov 2, 2023 at 16:37 | history | edited | kjo | CC BY-SA 4.0 | added 655 characters in body |
| Nov 2, 2023 at 15:23 | history | edited | kjo | CC BY-SA 4.0 | added 212 characters in body |
| Nov 2, 2023 at 15:16 | comment | added | kjo | @MarcusMüller: regardiing your second question, the code is meant to be part of a larger script, which will go on to to stuff with BYTES and DIGEST. | |
| Nov 2, 2023 at 15:15 | answer | added | Stéphane Chazelas | timeline score: 7 | |
| Nov 2, 2023 at 15:13 | comment | added | Marcus Müller | and why the eval? simply call your function. | |
| Nov 2, 2023 at 15:12 | comment | added | Marcus Müller | why don't you just save the output of somecommand in a variable, or write it to a temporary file if it's prohibitively large? | |
| Nov 2, 2023 at 15:05 | history | asked | kjo | CC BY-SA 4.0 |