Skip to content
Snippets Groups Projects
  1. Feb 23, 2013
  2. Oct 18, 2012
  3. Oct 16, 2012
    • guns's avatar
      Do not interpret backslashes when reading passwords · 8c46958d
      guns authored
      The `read` builtin accepts backslash notation for common non-printing
      characters by default, like `\t` and `\n`. This requires that any
      literal backslashes must also be escaped as `\\`.
      
      Given that `gpg -e` does not interpret input, the `read` invocations are
      changed to do the same.
      
      Also, the right hand side of an `==` comparison within `[[ ]]` must be
      quoted in order to suppress pattern metacharacter expansion. Quoting the
      bash manual:
      
          When the == and != operators are used, the string to the right of
          the operator is considered a pattern and matched according to the
          rules described below under Pattern Matching.
      8c46958d
  4. Oct 09, 2012
  5. Oct 05, 2012
  6. Oct 03, 2012
  7. Sep 30, 2012
  8. Sep 23, 2012
  9. Sep 22, 2012
  10. Sep 21, 2012
  11. Sep 20, 2012
  12. Sep 19, 2012
  13. Sep 17, 2012
  14. Sep 16, 2012
  15. Sep 14, 2012
  16. Sep 13, 2012
  17. Sep 12, 2012
    • Jason A. Donenfeld's avatar
      Add --version switch, per request. · b11e15a0
      Jason A. Donenfeld authored
      b11e15a0
    • Jason A. Donenfeld's avatar
      Be more careful about cleaning up. · 59b5377a
      Jason A. Donenfeld authored
      59b5377a
    • Brian Mattern's avatar
      Use getopt to regularize options · 2ac8b657
      Brian Mattern authored
      I like being able to specify command line options (like -c) at the end
      of the line (which is usually when I think of the fact that I need
      them).
      
      The attached patch uses getopt(1) to regularize the option list so that
      lazy people like me can specify the options in any order.
      2ac8b657
    • rupa's avatar
      Don't quote ${EDITOR:-vi} · 3a0c8bae
      rupa authored
      Attached is a trivial patch that removes the quotes from the line that
      invokes $EDITOR. It's perfectly cromulent to set $EDITOR to something
      with spaces in it, so when we evaluate this one we want it evaluated
      bare. For example security nerds might want EDITOR='vim -n' if they
      are scared of swap files, and that breaks if we quote there.
      3a0c8bae
Loading