Jackiebaron
Programmer
Hi all
I have the output of a command but the fields spill onto two lines, eg:
# /opt/openv/volmgr/bin/tpconfig -d
0 BE-STK9940B-0402 hcart2 TLD(4) DRIVE=3
/dev/rmt/5cbn UP
1 BE-STK9940B-0405 hcart2 TLD(4) DRIVE=6
/dev/rmt/3cbn UP
2 BE-STK9940B-0408 hcart2 TLD(4) DRIVE=9
/dev/rmt/6cbn UP
....etc
And I want to get all 7 fields onto one line, e.g.:
0 BE-STK9940B-0402 hcart2 TLD(4) DRIVE=3 /dev/rmt/5cbn UP
1 BE-STK9940B-0405 hcart2 TLD(4) DRIVE=6 /dev/rmt/3cbn UP
...etc.
Thanks for any help
jackie
I have the output of a command but the fields spill onto two lines, eg:
# /opt/openv/volmgr/bin/tpconfig -d
0 BE-STK9940B-0402 hcart2 TLD(4) DRIVE=3
/dev/rmt/5cbn UP
1 BE-STK9940B-0405 hcart2 TLD(4) DRIVE=6
/dev/rmt/3cbn UP
2 BE-STK9940B-0408 hcart2 TLD(4) DRIVE=9
/dev/rmt/6cbn UP
....etc
And I want to get all 7 fields onto one line, e.g.:
0 BE-STK9940B-0402 hcart2 TLD(4) DRIVE=3 /dev/rmt/5cbn UP
1 BE-STK9940B-0405 hcart2 TLD(4) DRIVE=6 /dev/rmt/3cbn UP
...etc.
Thanks for any help
jackie