Re: sphix_rtd_theme-3.0.2 sed

"Eric Clothier" ([email protected] via blfs-support Mailing List) <[email protected]> Sat, 13 Dec 2025 20:47:43 -0500
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <CAAGwWFWo5zASQAOL0uQEU7e_sA_vn2UTW7ROXGFSiPk3btJVwQ@mail.gmail.com>
On Sat, Dec 13, 2025, 20:13 Alan Ianson <
[email protected]> wrote:

> Hello list,
>
> I am trying to install sphinx_rtd_theme-3.0.2 and when I run the sed
> listed on that page in the blfs book I get this error.
>
> alan [ /usr/src/sphinx_rtd_theme-3.0.2 ]$ sed -e 's/0.22/0.23/'        \
>     -e ''/sphinx >/s/9/10/'' \
>     -i setup.cfg
> -bash: /s/9/10/: No such file or directory
>
> Am I doing something wrong?
> --
> http://lists.linuxfromscratch.org/sympa/info/blfs-support
> Unsubscribe: See the above information page
>

From what I can see, in the book, the instructions have the second line of
the `sed` command as "-e ''/sphinx >/s/9/10/'' \" Note the quotes around
"/sphinx >/s/9/10" are two single quotes, not double quotes, which is
causing bash to error. Removing the extra set of single quotes (i.e. "-e
'/sphinx >/s/9/10' \") will allow the `sed` command to complete
successfully.

I just quickly checked the `sed` against a fresh download of the tarball
and verified that removing the extra set of single quotes does in fact work.

Thanks,
Eric

>

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page