gnewsense-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnewsense-dev] Partial patch to gen-kernel


From: Sam Geeraerts
Subject: Re: [Gnewsense-dev] Partial patch to gen-kernel
Date: Sat, 15 Aug 2009 10:54:28 +0200
User-agent: Thunderbird 2.0.0.22 (X11/20090711)

Karl Goetz schreef:
Secondly, the search string as it is now doesn't take the whitespace
in the code into account. I think that it should be something like:

s|.*b43err...to "\n.*"http...firmware "\n.*and..\\n");|See...|;

Are you able to help test that theory?

I've attached an improved version of the sed script. It takes the whitespace into account and actually prints the replacement string like the original.
:more;$!N;s/\n/&/2;tenough;$!bmore;:enough;s|b43err(wl, "You must go to 
"\n.*"http://linuxwireless.org/en/users/Drivers/b43#devicefirmware "\n.*"and 
download the correct firmware (version 4).\\n");|b43err(wl, "See 
http://wiki.gnewsense.org/Documentation/Wireless for instructions on installing 
free firmware for this device.\\n"); |;P;D

reply via email to

[Prev in Thread] Current Thread [Next in Thread]