Project

General

Profile

« Previous | Next » 

Revision 14952

lib/sh/util.sh: fds for command-specific alternate stdin/stdout/stderr: documented that should not use 3-4, which are used by the system (`ls -l /dev/fd/`)

View differences:

trunk/lib/sh/util.sh
991 991

  
992 992
# convention: use fd 40/41/42 for command-specific alternate stdin/stdout/stderr
993 993
# mnemonic: 4 looks like A for Alternate
994
# do NOT use 3-4, which are used by the system (`ls -l /dev/fd/`)
994 995
# do NOT use 1x, which are used by eval (which is used by set_fds())
995 996
# do NOT use 2x, which we use as global stdin/stdout/stderr
996 997
# do NOT use 3x, which we use for logging

Also available in: Unified diff