https://docs.python.org/3/howto/argparse.html https://docs.python.org/3/library/argparse.html https://docs.python.org/2/howto/argparse.html https://docs.python.org/2/library/argparse.html
http://psmisc.sourceforge.net/ http://en.wikipedia.org/wiki/Pstree I failed compiling the PSmisc package on OS X 10.10 AKA Yosemite. Maybe I wasn’t patient enough. If I had a running Fink system these days, I wouldn’t even bother installing PSmisc resp. pstree myself. But my Fink system broke little after upgrading to Yosemite.
http://sourceforge.net/projects/logtail-v3/ this logtail can handle large files and log rolls
http://linux.die.net/man/8/logtail implemented in Perl
I wondered, how I could achieve that on various Unix platforms, and I ran the following command on my Linux box: $ man -k base64base64 (1) – base64 encode/decode data and print to standard outputMIME::Base64 (3pm) – Encoding and decoding of base64 strings Right the utility base64 (beloning to… Continue reading how to easily display a base64 encoded file
displays each file with its name before its content:$ head -999 file-a file-b file-c displays each file with its name before each line of its content:$ pipegrep ” cat file-a file-b file-c Search the web for pipegrep, if you are interested in it! It is written in one word.
Same content, different names of 2 or more files –– how to identify the duplicates? Use check sum utilities (like chksum, md5sum, sha1sum, …) for this, and sort on their output!
http://stackoverflow.com/questions/7161821/how-to-grep-a-continuous-stream I had never heard of “stdbuf” before AIX grep has -u GNU grep has –line-buffered, its -u is not the same as AIX grep’s
www.logcheck.org sourceforge.net/projects/logcheck/ linuxaria.com/pills/logcheck-scan-your-logs-and-warns-you – this is the nicest overview page Dependencies and restrictions: logcheck depends on logtail logtail runs on exactly one file … … and only once on that file, as it keeps a sister file called logfile.offset improving this should actually be “easy”, e.g. keeping a sister file called logfile.offset.user Pros: abstracting resp. filtering… Continue reading logcheck – scans your logfiles and warns you