The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
To store the output in a variable
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
To store the output in a variable
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
07-10-2007
vino
Supporter (in vino veritas)
Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,710
Quote:
Originally Posted by
Sudhakar333
temp = `echo $file |
sed
-e "s/\/sepx/\/sep$number/"`
Drop the whitespace before and after =
Code:
temp=`echo $file |
sed
-e "s/\/sepx/\/sep$number/"`
vino
View Public Profile
Find all posts by vino