On Monday 13 March 2006 16:10, Florian Schanda wrote:
> On Wednesday 08 March 2006 04:21, Jim Gifford wrote:
> > available at http://ftp.jg555.com/headers/headers.
>
> You can replace the long sed with the following:
>
> -e 's/\bu8/__u8/g' \
> -e 's/\bu16/__u16/g' \
> -e 's/\bu32/__u32/g' \
> -e 's/\bu64/__u64/g' \
> -e 's/\bs8/__s8/g' \
> -e 's/\bs16/__s16/g' \
> -e 's/\bs32/__s32/g' \
> -e 's/\bs64/__s64/g' \
> -e 's/\b__iomem//g' \

Or even better/shorter:

-e 's/\b[us]\(8\|16\|32\|64\)/__&/g' \
-e 's/\b__iomem//g' \

        Florian
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to