awk - gensub first result
Hi,
I have this code: Code:
block='kernel (hd0,2)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=eab515e9-bc3e-4024-9f01-55fddaa0fb1c resume=UUID=e12487ff-6d6f-44c4-9e03-33f545b3b798 splash=silent vga=788' Thanks |
Read the following - http://www.gnu.org/manual/gawk/html_...ring-Functions
Specifically the sections on sub/gsub/gensub |
Quote:
|
Well I had already directed you, but it appears it did not work. So I will do the work for you:
Quote:
|
All times are GMT -5. The time now is 12:05 AM. |