sh.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 01 Oct 2017 20:50:44 +0300
changeset 2197 5ee52f8d25b5
parent 1912 8b81a8f0f692
child 2228 837f1337c59b
permissions -rw-r--r--
Changing Vagrant home directory.

.. -*- coding: utf-8; -*-

========
 Shell.
========
.. contents::
   :local:

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
  http://www.gnu.org/software/autoconf/manual/html_node/Portable-Shell.html
                Portable Shell Programming

Kill processes after timeout.
=============================
::

  $ yes xxx& p1=$! ; yes ===& p2=$! ; sleep 2; kill $p1; kill $p2