Hacker News new | ask | show | jobs
by olddustytrail 903 days ago
You don't actually need to store it in a variable. Do it the bash way and write it to a temporary file. You can then get the sha1 of that file and then zlib compress and copy it to the appropriate dir and filename.