| delorie.com/archives/browse.cgi | search |
| From: | stefan_trcek AT abas DOT de (Stefan Trcek) |
| Subject: | /dev/null in portable shell-script |
| 2 Dec 1996 12:40:45 -0800 : | |
| Sender: | daemon AT cygnus DOT com |
| Approved: | cygnus DOT gnu-win32 AT cygnus DOT com |
| Distribution: | cygnus |
| Message-ID: | <32A29047.5AE2.cygnus.gnu-win32@abas.de> |
| Reply-To: | stefan_trcek AT abas DOT de |
| Mime-Version: | 1.0 |
| X-Mailer: | Mozilla 3.0 (WinNT; I) |
| Original-To: | gnu-win32 AT cygnus DOT com |
| Original-Sender: | owner-gnu-win32 AT cygnus DOT com |
Is there a portable solution to handle redirection to '/dev/null' in shell scripts? In MKS-ksh I get it work for 'nul', but these shell scripts are not portable. Will bash for NT do it better or is there any other workaround? Stefan Trcek - For help on using this list, send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |