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
_______________________________________________
gNewSense-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/gnewsense-dev

Reply via email to