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

Re: isn't sed s,x,x, one big no-op?

* 2010-05-06 08:52 (+0800), jidanni@jidanni.org wrote:

> In /etc/grub.d/00_header we see
>   transform="s,x,x,"
>   grub_prefix=`echo /boot/grub | sed ${transform}`
>   locale_dir=`echo /boot/grub/locale | sed ${transform}`
> Isn't that sed line one big no-op? Should I file a bug to have it
> removed or at least have a comment added as to its purpose, or have
> them use a better way to achieve what they are trying to do?

I'm sure it's for a purpose. If you file a bug I'd suggest a wish list
category and tone like "Please document the purpose of ..."

Feel free to Cc me your replies if you want to make sure I'll notice
them. I can't read all the list mail.

Reply to: