LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 10: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, 10:35 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
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, 10:35 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
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, 08:10 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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 06:32 PM
Shell script problem maringat Linux - Software 5 07-25-2005 06:12 PM
shell script problem. chooi Programming 7 03-26-2005 06:16 PM
A problem about a shell script jpan Linux - General 2 01-19-2005 07:14 PM
Problem in shell script Kumar Programming 4 04-27-2004 09:48 AM


All times are GMT -5. The time now is 06:09 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