1. 11 Jun, 2019 1 commit
  2. 07 Jun, 2019 1 commit
  3. 06 Jun, 2019 1 commit
    • Dmitry Bogatov's avatar
      Avoid useless /bin/sh hanging in memory · 8924dfee
      Dmitry Bogatov authored
      Last statement in surfraw(1) is invoking specific elvi. As long as it do
      not return (e.g user browses web), shell of surfraw(1) hanged in memory.
      
      With this patch, shell of surfraw(1) uses "exec" to invoke specific
      elvi, saving one fork() and making sure, that /bin/sh process do not
      exists longer, then necessary.
      8924dfee
  4. 09 Nov, 2018 1 commit
  5. 08 Nov, 2018 2 commits
    • Dmitry Bogatov's avatar
      Simplify `find_global_conf' function in surfraw(1) · 3c0f8ade
      Dmitry Bogatov authored
      Make processing of directories in ${XDG_CONFIG_DIRS} and
      @sysconfdir@/xdg uniform, reducing depth of control
      structures nesting.
      3c0f8ade
    • Dmitry Bogatov's avatar
      Make style of output capture uniform · 7b9162e8
      Dmitry Bogatov authored
      There is two ways to capture output of command in shell scripts:
      
       * `command args`
       * $(command args)
      
      Both are supported by POSIX and all shells in wide use (except of
      Solaris /bin/sh) but second one is simplier to read, especially in case of
      nesting.
      
      Surfraw project already uses both form, so changing all code to use
      single, more modern and readable form, do not cause loss of portability.
      
      Since currently codebase already uses both forms, POSIX-compatible shell
      is already required. Also, `HACKING' file is modified to suggest new
      form of command output capture.
      
      For more information about two forms of output capture, see
      https://stackoverflow.com/questions/9449778
      7b9162e8
  6. 10 Oct, 2018 1 commit
  7. 01 Oct, 2018 1 commit
  8. 29 Sep, 2018 1 commit
  9. 11 Sep, 2018 2 commits
  10. 29 Mar, 2018 1 commit
  11. 02 Feb, 2018 2 commits
  12. 27 Jan, 2018 1 commit
  13. 05 Jan, 2018 2 commits
  14. 21 Jul, 2017 8 commits
  15. 19 Jul, 2017 1 commit
  16. 14 Jul, 2017 2 commits
  17. 07 Jul, 2017 1 commit
  18. 06 Jul, 2017 2 commits
  19. 13 Mar, 2017 1 commit
  20. 10 Mar, 2017 8 commits