bash uses tmp files for inter-process communication instead of pipes?
From:
Linda Walsh
Subject:
bash uses tmp files for inter-process communication instead of pipes?
Date:
Mon, 06 Oct 2014 12:14:57 -0700
User-agent:
Thunderbird
In running a startup script, I am endeavoring not to use tmp files
where possible, As part of this, I sent the output of a command
to stdout where I read it using the "variable read" syntax:
while read ifname hwaddr; do
printf "ifname=%s, hwaddr=%s\n" "$ifname" "$hwaddr"
act_hw2if[$hwaddr]="$ifname"
act_if2hw[$ifname]="$hwaddr"
/etc/init.d/boot.assign_netif_names: line 203: cannot create temp file
for here-document: No such file or directory
Where am I using a HERE doc?
More importantly, at this point, where is it trying to write?/(Read).
Simple Q. Why isn't it using some small fraction of the 90+G of memory
that is free for use at this point?
This really feels like "Whack-a-mole"....