ok, thanks! now it is more clear. i am finding bash quite obscure sometimes...

or., 2010.eko ekaren 04a 15:45(e)an, Dan S(e)k idatzi zuen:
2010/6/4 enrike<[email protected]>:
hi

cat /usr/share/bouilloncube/sh/grub2/grub.cfg.in

Output the contents of this file (a template for grub.cfg) to...

|

...send its contents into...

sed -e 's/\${BLKID}/'${BLKID}'/g'

...a command which replaces all occurrences of ${BLKID} with the
actual value of BLKID (which is determined further up the script)
and...



...writes the resulting output to...

${DEVMOUNT}/boot/grub/grub.cfg

this file.

HTH
Dan

---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne



---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne

Reply via email to