Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 09-13-2004, 07:11 AM   #1
Registered: May 2004
Posts: 133

Rep: Reputation: 15
deaclare variable automatically with while read

while read ( wants as many variables wanted, without declaring each of them)
echo "hi"
Old 09-13-2004, 08:25 AM   #2
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
you will have to use an array or a vector


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
Automatically OS becoming Read only mode jekd Linux - Software 3 07-21-2005 11:32 AM
read client-side variable out of webpage jeffreybluml Linux - Newbie 2 05-23-2005 12:02 PM
How to read a variable from a file? Andrew Benton Programming 2 12-29-2004 10:50 PM
Fedora Core 1, won't read in file to variable linlu Linux - General 4 07-01-2004 06:47 PM
named daemon variable ${ROOTDIR} in init.d does not allow zones to be read r00tnuke Red Hat 0 01-24-2004 05:08 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:24 AM.

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