🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #57790

Re: how to read in a line from script

#57790
From: Marc Butler
Date: Tue, 27 Aug 1996 00:00
15 lines
749 bytes
root (freemant@wr.com.au) wrote:
: I'd like to get a line of input from the user from within
: a bash script. Can it be done? How? TIA.
: 

User the shell command read.
You'll find the man page very helpful.

Marc
--
If reality persists see your doctor.


Marc Butler, marc@zip.com.au, http://www.zip.com.au/~marc
Technical Details
Message-ID: <4vudah$4oi@the-fly.zip.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4vsm1q$7j3@metro.usyd.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,4cc2db9e54507a53
X-Google-Attributes: gid102983,public
From: marc@zip.com.au (Marc Butler)
Subject: Re: how to read in a line from script
Date: 1996/08/27
Message-ID: <4vudah$4oi@the-fly.zip.com.au>
X-Deja-AN: 176740780
distribution: inet
references: <4vsm1q$7j3@metro.usyd.edu.au>
organization: Zip Australia
newsgroups: aus.computers.linux