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 -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature