Search
Results
bash-style-guide
Emacs shell scripts - run emacs code as shell script - Stack Overflow
[https://stackoverflow.com/questions/6238331/emacs-shell-scripts-how-to-put-initial-options-into-the-script#6259330] - - public:mzimmerm
Use shebang + exec emacs --script to run emacs code as a shell script but also as emacs code, for example load-file #! /bin/sh “:“; exec emacs --no-site-file --script “$0“ -- “$@“ # -*-emacs-lisp-*- (print (+ 2 2))
Run elisp program without Emacs? - Stack Overflow
[https://stackoverflow.com/questions/10210742/run-elisp-program-without-emacs] - - public:mzimmerm
Run elisp code as script - summary
A Complete Guide on How To Use Bash Arrays
[https://www.shell-tips.com/bash/arrays/] - - public:mzimmerm
Good guide and doc for Bash arrays. Also clearly states difference between array (indexed array=list) and associative array (keyd array=map)
Using xargs in Combination With bash -c to Create Complex Commands
[https://www.cloudsavvyit.com/7984/using-xargs-in-combination-with-bash-c-to-create-complex-commands/amp/] - - public:mzimmerm
Shows how to build super complex useful command pipes easily with xargs