Hi,
i have a text file containing two below lines:
jfslog1_lv jfslog 1 2 2 open/syncd N/A
jfslog2_lv jfslog 1 2 2 open/syncd N/A
When I run below command I get 2 unexpected lines on output (first and last one). How to rid them off? Is the command syntax ok? Or maybe these to lines are also ok working with cooprocess?
$ cat lsvg.txt |& while read -p;do set `echo $REPLY`;echo "mklv -y'${1}' myvg ${3} raid10_l1";done
[1] 1261726
mklv -y'jfslog1_lv' myvg 1 raid10_l1
mklv -y'jfslog2_lv' myvg 1 raid10_l1
[1] + Done cat lsvg.txt |& while read -p;do set `echo $REPLY`;echo "mklv -y'${1}' myvg ${3} raid10_l1";done
i have a text file containing two below lines:
jfslog1_lv jfslog 1 2 2 open/syncd N/A
jfslog2_lv jfslog 1 2 2 open/syncd N/A
When I run below command I get 2 unexpected lines on output (first and last one). How to rid them off? Is the command syntax ok? Or maybe these to lines are also ok working with cooprocess?
$ cat lsvg.txt |& while read -p;do set `echo $REPLY`;echo "mklv -y'${1}' myvg ${3} raid10_l1";done
[1] 1261726
mklv -y'jfslog1_lv' myvg 1 raid10_l1
mklv -y'jfslog2_lv' myvg 1 raid10_l1
[1] + Done cat lsvg.txt |& while read -p;do set `echo $REPLY`;echo "mklv -y'${1}' myvg ${3} raid10_l1";done