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

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

On Thu, May 06, 2010 at 08:52:39AM +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?

looks like it to me. 

> 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?

maybe a question is better than a bug report. I imagine it's just a
convenience variable in case someone needs to transform paths for some


Attachment: signature.asc
Description: Digital signature

Reply to: