![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| read a file line by line | chebarbudo | Shell Programming and Scripting | 8 | 11-26-2008 02:00 PM |
| Read a file line by line | VENC22 | UNIX for Dummies Questions & Answers | 4 | 10-30-2008 11:09 AM |
| read a file line by line in ksh | chella | Shell Programming and Scripting | 3 | 08-29-2008 01:57 AM |
| read the file line by line | kittusri9 | Shell Programming and Scripting | 3 | 04-24-2008 08:26 AM |
| How to read from a file line by line and do stuff | spaceship | Shell Programming and Scripting | 4 | 03-17-2005 09:47 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
At first, give my best wish for all MOD and admins here. I"m learning bash shell program just for a month, not too much, not too little, but i must admire that i'm very bad at math and algorithm.
![]() I want to do this : Read the content of a file line by line and at each line, ask me want to read next line or not, if not, press N - end, if yes, press Y - read next line This is the content of file : Code:
I love linux verymuch. I want to learn it Bash shell is not hard but it make me gonna crazy. Can any one help me ... ![]() ![]() |
|
|||||
|
Ooppss...Had to edit it...
So here are some tips Use cat, while, read... Then you'll probably encounter something weird like not being able to enter your choice of y/n so try searching about tty Last edited by angheloko; 01-15-2009 at 11:25 AM.. Reason: Looks like homework |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|