diff options
author | Stanislav Brabec | 2015-02-13 19:59:22 +0100 |
---|---|---|
committer | Karel Zak | 2015-02-16 10:49:36 +0100 |
commit | ab52a8bcce2f01bb44d3c2266e19b32e9639084b (patch) | |
tree | f938f29a44c2d494dd4d01f2ab01849543966eab /disk-utils/fsck.c | |
parent | script: no logging for non-interactive shells (diff) | |
download | kernel-qcow2-util-linux-ab52a8bcce2f01bb44d3c2266e19b32e9639084b.tar.gz kernel-qcow2-util-linux-ab52a8bcce2f01bb44d3c2266e19b32e9639084b.tar.xz kernel-qcow2-util-linux-ab52a8bcce2f01bb44d3c2266e19b32e9639084b.zip |
script.1: Improve documentation of non-interactive behavior
- use exit in .profile to avoid non-logged session after typing "exit"
- document that script can read more from stdin than the command inside:
echo -e 'script -c "read a b ; echo a=\$a b=\$b >defs.sh"\n1 2\necho Done' | sh
Script started, file is typescript
1 2
echo Done
Script done, file is typescript
Diffstat (limited to 'disk-utils/fsck.c')
0 files changed, 0 insertions, 0 deletions