author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Wed, 05 Aug 2015 23:55:34 +0300 | |
changeset 1729 | 22ffd80639c0 |
parent 1334 | 9bf0d5a1f0cf |
child 1905 | fba288d59662 |
permissions | -rw-r--r-- |
1129 | 1 |
.. -*- coding: utf-8; -*- |
1334
9bf0d5a1f0cf
Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1130
diff
changeset
|
2 |
.. include:: HEADER.rst |
1129 | 3 |
|
4 |
======== |
|
5 |
Shell. |
|
6 |
======== |
|
7 |
.. contents:: |
|
8 |
||
9 |
Quoting. |
|
10 |
======== |
|
11 |
||
12 |
http://www.mpi-inf.mpg.de/~uwe/lehre/unixffb/quoting-guide.html |
|
13 |
A Guide to Unix Shell Quoting |
|
14 |
||
15 |
Portability. |
|
16 |
============ |
|
17 |
||
18 |
http://code.dogmap.org/lintsh/ |
|
19 |
lintsh is a Bourne shell that optionally warns about suspicious |
|
20 |
or nonportable constructs |
|
1130
24f389eeb157
Portable Shell Programming
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1129
diff
changeset
|
21 |
http://www.gnu.org/software/autoconf/manual/html_node/Portable-Shell.html |
24f389eeb157
Portable Shell Programming
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1129
diff
changeset
|
22 |
Portable Shell Programming |
1129 | 23 |
|
24 |
Kill processes after timeout. |
|
25 |
============================= |
|
26 |
:: |
|
27 |
||
28 |
$ yes xxx& p1=$! ; yes ===& p2=$! ; sleep 2; kill $p1; kill $p2 |
|
29 |