Appendix A: pcalc source code
A perl read-eval-print loop. This makes a very handy calculator on the command line. Example usage:
Appendix B: Random unfinished ideas
Ideas too good to delete, but that aren't fleshed out.
Micro shell scripts from the command line
Example - which .so has the object I want?
Example - killing processes by name
Example - tailing the most recent log file in one easy step
James' xargs trick
xargs and feeds one
xargs' output into another
xargs in clever ways to build up complex command lines.
perl + $/ == agrep
- Example - Finding duplicate keys in two files