[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sed --debug option unrecognized on 4.5
From: |
Eric Blake |
Subject: |
Re: sed --debug option unrecognized on 4.5 |
Date: |
Thu, 10 Jan 2019 11:09:42 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 1/10/19 8:56 AM, Mark Kim-Mulgrew wrote:
> Hi all,
>
> I am new to sed and am going through the manual:
> https://www.gnu.org/software/sed/manual/sed.html
>
> One of the first examples in the manual is
>
> $ echo 1 | sed --debug '\%1%s21232'
>
> But when I type it in, I get the error message
>
> sed: unrecognized option '--debug'
>
> Is the debug option not present in older versions of sed?
>
Reading the NEWS file in sed.git:
* Noteworthy changes in release 4.6 (2018-12-19) [stable]
...
** New Features
New option, --debug: print the input sed script in canonical form
and annotate program execution.
4.5 is too old to have it.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature