Richard Ray <[EMAIL PROTECTED]> writes:
> Other than lsof is there a way to determine what file descriptors are
> open?
$ (exec 4<&$n) 2>/dev/null && echo fd $n is open
Andreas.
--
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
P
Richard Ray wrote:
Other than lsof is there a way to determine what file descriptors are open?
I very much doubt there is a portable way, if that's what you're
asking... On Linux there is also /proc/fd, I think?
--
Matthew
"What a wonderful smell you've discovered!" -- Princess Leia Organa
Other than lsof is there a way to determine what file descriptors are
open?
Thanks
Richard
___
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash
Further to this, I am having trouble porting existing scripts to
bash-3.2's new style of regex matching.
Here is one example that is problematic: I want to use a character class
in my regex, but bash seems to get confused by the ':]]' closing the
class, and apparently takes it as a ']]' closing th
Hi All,
Solaris doesn't implement getcwd() with support for dynamic allocation
of memory. This BASH consider as broken so that configure defines
GETCWD_BROKEN.
Later in bash-3.2/config-bot.h it disables HAVE_GETCWD completely:
/* If we have a getcwd(3), but it calls popen(), #undef HAVE_GETCWD