Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 7th, 2005, 10:28 PM   #1
vivaspeed
Newbie
 
Join Date: Jan 2005
Posts: 2
Rep Power: 0 vivaspeed is on a distinguished road
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
vivaspeed is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:58 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC