On Tue 2019-03-19 09:31:55 -0400, Greg Wooledge wrote:
> There are scripts that *rely* on the seekability of the temporary files
> created by here-documents and here-strings. "Improving" the "situation"
> would break backward compatibility.
i hope you noticed that of my suggested improvements, on
On Wed, Mar 20, 2019 at 07:36:41AM -0400, Daniel Kahn Gillmor wrote:
> How do you replicate 3<<<"$secret" with a pipeline?
Not strictly a pipeline, but:
3< <(printf %s "$secret")
This is actually preferred in many cases, because it doesn't add a
newline. <<< always adds a newline to the result,
On Wed, Mar 20, 2019 at 07:49:34AM +0700, Robert Elz wrote:
> However, using files for here docs makes here docs unusable in a shell
> running in single user mode with no writable filesystems (whatever is
> mounted is read only, until after file system checks are finished).
Meanwhile, proposals ba
BASH PATCH REPORT
=
Bash-Release: 5.0
Patch-ID: bash50-003
Bug-Reported-by:Andrew Church
Bug-Reference-ID: <5c534aa2.04...@msgid.achurch.org>
Bug-Reference-URL:
http://lists.gnu.org/archive/html
> > Description:
> >
> > There is a problem with variable scoping when variable is created from
> > assignment statement preceding function call in posix-mode. See an
> > example below.
> >
> >
> > Repeat-By:
> >
> > $ cat test.sh
> > #!/bin/sh
> >
> > myecho() {
> > echo $var
> > }
> >
From: Erik Hugne
Enables bash scripts to read and write data to TIPC RDM/DGRAM sockets.
Signed-off-by: Erik Hugne
---
Only available/enabled on Linux.
config.h.in | 2 ++
configure.ac | 2 ++
doc/bash.1 | 5 +++
doc/bashref.texi | 10 --
externs.h| 2 +-
lib/sh/