|
Hi,
I am the shell script beginner. I am encountered the problem to create huge of the different files base from the different scenario.
to generate a files base from the "parameters" pattern.
Scenario example:
with four parameter varies change.
C_num_1;
C_num_2;
C_num_3;
C_num_4.
The files content can be generate in
1) C-num_1 OR
2) C_num_1 and C_num_2 OR
3) C_num_1 and C_num_3 OR
4) C_num_1 and C_num_4 OR
5) C_num_1; C_num_2 C_num_3 and C_num_4.
And please advise
how do I 'echo "C_num_1" >> 1.txt' for a specific line into 1.txt file.
Welcome for any advise or scripting guide.
Thank you.
Regards,
Vivaspeed
|