help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why does </proc/self/environ not work in bash?


From: Chet Ramey
Subject: Re: why does </proc/self/environ not work in bash?
Date: Wed, 14 Feb 2024 14:10:05 -0500
User-agent: Mozilla Thunderbird

On 2/14/24 10:30 AM, Zachary Santer wrote:

Just for my own edification, where would I be looking if I wanted to patch that? Probably just to see how much of a pain it would be. Haven't touched C in forever.

You can start with redir.c:do_redirections() and the functions it calls,
then work back to the functions from execute_cmd.c that call it. The one
you're looking for is in execute_disk_command().

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]