I was curious what POSIX says and how other *nix systems would handle
Christian's examples.
On the 'r' command POSIX makes a general comment:
The r and w command verbs, and the w flag to the s command, take an
rfile (or wfile) parameter...
and specifically about 'r':
If rfile does not
busybox generally follows a pretty simple flow:
(1) is the behavior you're looking at explicitly documented by POSIX ?
if yes, then do what POSIX says & you're done
(2) is the behavior described as "implementation defined" by POSIX ?
if yes, do whatever produces smaller code
(3) is the beha
On Wed, 23 Mar 2016, Ralf Friedl wrote:
>
> On the other hand, I don't know why busybox sed needs exactly one space
> between command and filename. GNU sed works with zero or more spaces.
Good points, everyone. Thanks. Still...
# Note, the input file /tmp/bar lacks the on the last line
# simp