Solved

csh to bash

Posted on 2001-06-05
1
766 Views
Last Modified: 2008-02-01
how do you say this csh statement
  USER_REPLY = $<    
in bash?  that's to get user input while running the script,
not from command line arguments.
0
Comment
Question by:akeimou
1 Comment
 
LVL 3

Accepted Solution

by:
SEve earned 88 total points
ID: 6158729
#!/usr/bash

read
# data from stdin stored in $REPLY
echo Got from stdin $REPLY

or alternative:
read USER_REPLY
echo Got from stdin $USER_REPLY

seve

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question