On 22/11/13 20:26, Eric Blake wrote:
> On 11/22/2013 11:11 AM, Tormen wrote:
>
>>     sed -e 1$'{w/dev/stdout\n;d}' -i /tmp/x
>>
>> in a dash script will yield the error message:
>>
>>     sed: -e expression #1, char 2: unknown command: `$'
>>
>> But why ? :(
> Because $'' is not (yet) in POSIX.  It will be required in a future
> release, but dash hasn't implemented it yet.
>
> http://austingroupbugs.net/view.php?id=249
Now I get how this script works ;)

Thanks !! :)

!!! And also thanks to all the other answers !!! - really appreciated! :)))

--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to