j*c 发帖数: 97 | 1 is there any simple way to print the same thing to two different files? I mean
by which I don't need to type everything again in the script. thanks |
D**e 发帖数: 10169 | 2 write a sub routine.
mean
【在 j*c 的大作中提到】 : is there any simple way to print the same thing to two different files? I mean : by which I don't need to type everything again in the script. thanks
|
b****s 发帖数: 472 | 3 or use a loop
【在 D**e 的大作中提到】 : write a sub routine. : : mean
|
i***e 发帖数: 3219 | 4 open OUTPUT, "|tee file_1 file_2 > /dev/null";
print OUTPUT "things_you_want_to_print";
【在 j*c 的大作中提到】 : is there any simple way to print the same thing to two different files? I mean : by which I don't need to type everything again in the script. thanks
|