On 10.11.2011 18:42, devkral wrote: > + cryptdevice_tmp="cryptdevice=/dev/disk/by-uuid/$(echo > ${cryptdevice_check} | sed -e "s/ //" -e "s/ /-/" -e "s/ /-/" -e "s/ /-/" -e > "s/ /-/" -e "s/ //" -e "s/ //")${lvmname}" What's the reason for probing lvm? awk is much better and readable for uuid transforms.
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-grub mailing list Bug-grub@gnu.org https://lists.gnu.org/mailman/listinfo/bug-grub