Article 5CSW7 [SOLVED] What does '/m64=/' mean in the sed command?

[SOLVED] What does '/m64=/' mean in the sed command?

by
NuttyJamie
from LinuxQuestions.org on (#5CSW7)
Greetings folks!:hattip:
I saw this type of sed command while following the LinuxFromScratch book's instructions.

First, the book says:
Quote:
If building on x86_64, change the default directory name for 64-bit libraries to lib":
And the code is:
Code:case $(uname -m) in
x86_64)
sed -e '/m64=/s/lib64/lib/' \
-i.orig gcc/config/i386/t-linux64
;;
esacI knew sed's replace command format, such as s/<source text>/<replace text>/gc, and so I know what this whole code ends up doing, but I've never seen the middle part of it before.
Code:sed -e '/m64=/s/lib64/lib/' \ What exactly does the /m64=/ do?
I searched through several sed tutorials and found nothing similar. :(latest?d=yIl2AUoC8zA latest?i=jFYSEDkH8JI:yAdk38AQMVc:F7zBnMy latest?i=jFYSEDkH8JI:yAdk38AQMVc:V_sGLiP latest?d=qj6IDK7rITs latest?i=jFYSEDkH8JI:yAdk38AQMVc:gIN9vFwjFYSEDkH8JI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments