lintsh
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 11 Dec 2011 12:02:51 +0200
changeset 1129 63a7fba0f263
parent 1128 4774202d406d
child 1130 24f389eeb157
lintsh
sh.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sh.rst	Sun Dec 11 12:02:51 2011 +0200
@@ -0,0 +1,26 @@
+.. -*- coding: utf-8; -*-
+
+========
+ Shell.
+========
+.. contents::
+
+Quoting.
+========
+
+  http://www.mpi-inf.mpg.de/~uwe/lehre/unixffb/quoting-guide.html
+                A Guide to Unix Shell Quoting
+
+Portability.
+============
+
+  http://code.dogmap.org/lintsh/
+                lintsh is a Bourne shell that optionally warns about suspicious
+                or nonportable constructs
+
+Kill processes after timeout.
+=============================
+::
+
+  $ yes xxx& p1=$! ; yes ===& p2=$! ; sleep 2; kill $p1; kill $p2
+