Solved

csh to bash

Posted on 2001-06-05
1
758 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now