Perl script line:
my $resp=<STDIN>;
chomp($resp);
Im trying to convert perl script to shell script... Just got stuck with this 2 lines... Please help me...
Just this:
read resp
In Perl chomp function is used to remove newline from the input.
The shell removes the newline automatically.