[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: busybox sed, 'r' command
From:       Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn () axis ! com>
Date:       2016-03-24 14:43:47
Message-ID: alpine.DEB.2.20.1603241540010.13696 () enwn ! fr ! nkvf ! pbz
[Download RAW message or body]

On Thu, 24 Mar 2016, Ron Yorston wrote:
>
> and specifically about 'r':
>
>    If rfile does not exist or cannot be read, it shall be treated as if
>    it were an empty file, causing no error condition.

My observation, looking at the strace from GNU sed, is it attempts to
open a file with no/empty name and fails, but ignores the error.


Cheers,

-- 
Cristian
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic