Search Results

Search: Posts Made By: admc123
1,043
Posted By admc123
Text manipulation help required
Hi all, I want to perform different operations on text like converting string to lower, converting to upper, extract string etc.
can anyone suggest me shell commands for these?

is it possible...
1,734
Posted By admc123
Execution problem with shell script
Hi all,
I want to use perl string manipulation commands in my shell script.
I have written following script.


echo "enter name"
read name
perl -e '$m=length($name);
echo $m

it gives an...
1,258
Posted By admc123
Problem in perl scripting
I want to use perl scripting for string manipulation. i have tested perl path in linux. it works. i have written small script in perl.

#!/usr/bin/perl
print "Enter your name" ;
$name = <stdin>...
6,958
Posted By admc123
thanks. it works.
thanks. it works.
6,958
Posted By admc123
problem with printf in shell script
i have written small script as follows:

name="hi hello"
printf "%-20s" $name

This gives me strange output. -20s format is applied on both word of string. i.e it displays both word hi and...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy