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

jidanni at jidanni.org jidanni at jidanni.org
Thu May 6 00:52:39 UTC 2010


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?



More information about the Pkg-grub-devel mailing list