On Thu, Jan 31, 2002 at 09:11:13AM +0800, Colin Coe wrote: > > Hi all, I have come accross a strange problem while doing some scripting > with lvdisplay. When I use lvdisplay piped to awk in the first example > (noting that I have 'hard-wired' one field in awk), a second line is printed > containing all hard-wired strings, including tabs. But if I encase the > lvdisplay in backticks and use echo then piped to awk the problem does not > exist. If you're using lvdisplay in a script isn't using the -c switch easier than parsing the text output ? patrick _______________________________________________ linux-lvm mailing list linux-lvm@sistina.com http://lists.sistina.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html