Re: sphix_rtd_theme-3.0.2 sed

"Bruce Dubbs" ([email protected] via blfs-support Mailing List) <[email protected]> Sat, 13 Dec 2025 20:01:10 -0600
Newsgroups gmane.linux.lfs.beyond.support
Message-ID <[email protected]>
On 12/13/25 7:47 PM, Eric Clothier ([email protected] via blfs-support Mailing 
List) wrote:
> On Sat, Dec 13, 2025, 20:13 Alan Ianson <[email protected] 
> <mailto:[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 <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.

Indeed, that is an error in the book.  I've pushed the change and it will show up 
after the nightly build.

Thanks for pointing it out.

   -- Bruce

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