in reply to What is causing sha1 system call to fail to redirect?

Puregnome45:

Since you're not chomping your input, you're actually executing two commands "sha1sum $file" and ">data". The second one generates an empty file....

Update: changed "xyz" to "data" to reflect the name used in the OP.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: What is causing sha1 system call to fail to redirect?