Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

shell read of val

by Anonymous Monk
on May 16, 2018 at 16:23 UTC ( [id://1214662]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    command1|grep val | read val; if [[$val -eq 1]] then; do .. ; else ..;
    + fi;
    
  2. or download this
    $x = `command1|grep val | read val; echo $val; if [[$val -eq 1]] then;
    + do .. ; else ..; fi;`
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1214662]
Approved by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2024-03-28 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found