LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-26-2008, 09:03 AM   #1
sameer9812
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
Red face Pls help-problem in shell script


I was facing in writing a program:
test.txt is created.
Enter the database filename.
re-run the file_10.sh to create, update, delete, display database records.
you are using test.txt as your database file.
file is empty.
enter 1 to create records
1_ enter id:
2) enter name:
3) enter salary:

you have created the following:
1
2
3
 
Old 06-26-2008, 09:35 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Help is not possible for the problem as you have given it.

Please post the program code so that those who are skilled at writing scripts may try to find the error.
 
Old 06-26-2008, 09:35 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596

Rep: Reputation: 80
Your post is difficult to understand.
There should be a description of the problem and a question summing up what you are expecting from us.
Here is a pile of words that make no sense to me.
 
Old 06-26-2008, 07:10 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Sounds extremely like homework ... http://catb.org/~esr/faqs/smart-questions.html
 
  


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 problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
Shell script problem maringat Linux - Software 5 07-25-2005 05:12 PM
shell script problem. chooi Programming 7 03-26-2005 05:16 PM
A problem about a shell script jpan Linux - General 2 01-19-2005 06:14 PM
Problem in shell script Kumar Programming 4 04-27-2004 08:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:30 PM.

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
Open Source Consulting | Domain Registration