Re: md5sum outputs '-' when using stdin

2019-08-26 Thread Stephane Chazelas
2019-08-25 21:03:33 +0100, Stephane Chazelas: [...] > FWIW, the ast-open implementation of "wc" doesn't output that > "-" and doesn't treat "-" as meaning stdin. If you want to > "md5sum -c" stdin there, you need to use "/dev/stdin" instead of > "-". [...] Sorry, I meant "the ast-open

Re: md5sum outputs '-' when using stdin

2019-08-26 Thread Bernhard Voelker
On 8/26/19 10:44 AM, Erik Auerswald wrote: On Sun, Aug 25, 2019 at 09:03:33PM +0100, Stephane Chazelas wrote: [...] Maybe --quiet could be used to skip outputting file names. I don't think overloading --quiet this way is helpful. Changing *sum's output format should use a new option IMHO (if

Some Suggestions on 'chmod' command

2019-08-26 Thread 2477441814
Dear team, when using chmod command with '-R' option to set permissions on a directory and files under the directory, I found that if my changed permissions cause the current user to lose 'r' or 'x' permissions, then an error will be reported during execution, resulting in only permission

Re: md5sum outputs '-' when using stdin

2019-08-26 Thread Erik Auerswald
Hi, On Sun, Aug 25, 2019 at 09:03:33PM +0100, Stephane Chazelas wrote: > [...] > Maybe --quiet could be used to skip outputting file names. I don't think overloading --quiet this way is helpful. Changing *sum's output format should use a new option IMHO (if one wants to add this functionality