LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2005, 08:12 AM   #1
arungs
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
Help neded shell script


Hi
I need to write a small script that will insert a few lines into another txt file depending on some conditions.
Could you plesae help how to go about
Thanks
Arun
 
Old 10-27-2005, 08:36 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
small script that will insert a few lines into another txt file depending on some conditions
Could you be more specific like what languuage the script is sposed to be, what the text files and conditions are? We're extremely willing to lend you a hand at LQ (as long as we're not doing your homework) but we're kinda low on ESP. At least I am...
 
Old 10-27-2005, 08:44 AM   #3
Ynot Irucrem
Member
 
Registered: Apr 2005
Location: Perth, Western Australia
Distribution: Debian
Posts: 233

Rep: Reputation: 30
well, looking at the subject, i'd hazard a guess that the language in question is bash. the best guide on bash is the Advanced Bash Scripting Guide - google it.
 
Old 10-27-2005, 09:34 AM   #4
jaimese
LQ Newbie
 
Registered: Oct 2005
Posts: 11

Rep: Reputation: 0
Hi!, Im also new here but I can recommend u this web, www.tdlp.org. Inside, u can find several guides very usefull to start programming in Linux, including a basic shell guide and the advanced bash scripting guide.

Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script inside shell script treotan Linux - General 4 02-19-2009 07:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 06:32 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 04:00 PM
Newbe help neded opo Linux - Software 20 01-17-2003 04:19 AM


All times are GMT -5. The time now is 09:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration