Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

i see no way to name the memo in your examples, so how do you refer to them later?

also, this seems a lot like an automated way to write shell scripts that you can pipe to and from. so why not use a shell script that won't surprise anyone instead of this, which might?



The name of the memo is the command that comes after it:

  $ memo my-complex-command --some-flag my-positional-arg-1
In this invocation, a hash (sha512) is taken of "my-complex-command --some-flag my-positional-arg-1", which is then stored in /tmp/memo/${USER}/{sha512hash}.zst (if you've got zstd installed, other compression extensions otherwise).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: