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

Re: [linux-lvm] hmmm, curious...



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




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