author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sat, 10 Feb 2018 01:28:53 +0200 | |
changeset 2227 | 1e9323e7ec88 |
parent 1912 | 8b81a8f0f692 |
child 2228 | 837f1337c59b |
permissions | -rw-r--r-- |
1129 | 1 |
.. -*- coding: utf-8; -*- |
2 |
||
3 |
======== |
|
4 |
Shell. |
|
5 |
======== |
|
6 |
.. contents:: |
|
1905
fba288d59662
Include only local subsections into TOC. This prevent duplication of
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
1334
diff
changeset
|
7 |
:local: |
1129 | 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 |