THE read COMMAND

   

Korn Shell: Unix and Linux Programming Manual, Third Edition, The
By Anatole Olczak

Table of Contents
Appendix G.  Pdksh Quick Reference


THE read COMMAND

read [options] variables

read input into variables according to options

read name?prompt

display prompt and read the response into name

read Options

p

read input line from a co-process

r

do not treat \ as line continuation character

s

save a copy of input line in command history file

un

read input line from file descriptor n. If file descriptor is greater than 2, it must first be opened with exec. If n is not specified, default file descriptor is 0.


       
    Top
     



    Korn Shell. Unix and Linux Programming Manual, Third Edition
    Korn Shell. Unix and Linux Programming Manual, Third Edition
    ISBN: N/A
    EAN: N/A
    Year: 2000
    Pages: 177

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net