# HG changeset patch # User Oleksandr Gavenko # Date 1323597771 -7200 # Node ID 63a7fba0f263cce86f49490a7a4470b0791ff392 # Parent 4774202d406dba4e8b9bc662fe264348358eeb42 lintsh diff -r 4774202d406d -r 63a7fba0f263 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 +