/lessons

Things I picked up along the way...

Primary LanguageShell

Lessons I picked up along the way

My head remembers only so much...

Table of Contents

  1. $CDPATH does what autojump and z does
  2. Bash dollar singlequote is escaped
  3. Bash expanded dirname
  4. Bash regexp case insensitive
  5. Create a new file with >
  6. Cron but at | atrun on Macos
  7. Drive does not mount on macos
  8. How do I capture stderr in bash into variable
  9. How do I cd into a directory holding a file with a script?
  10. How to make bash autocomplete your script commands
  11. How to replace regexp in bash
  12. MacOS OSX keeps print history forever - delete it
  13. Noop/pass in bash
  14. Podman basic instructions
  15. Podman with Mariadb and Adminer in MacOS
  16. Proper way to read lines from file if there is no newline at end of file
  17. Regexp comparison and matches
  18. Run any code and read it back into vim
  19. Take input from STDIN or FILE
  20. Trap ctrl+c in bash and run a command on exit
  21. Trim whitespace in bash (ltrim, rtrim, trim)
  22. Vim CMT - but not a plugin
  23. Vim Very Magic Regexp searching and replace (perl complient)

n'joy!