The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk/sed Command : Parse parameter file / send the lines to the ksh export command
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
awk/sed Command : Parse parameter file / send the lines to the ksh export command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
11-06-2008
rajan_san
Registered User
Join Date: Aug 2008
Posts: 39
I was able to get through this issue using the eval option
for LINE in `
sed
-n '/ '${DB}' /,/ End /p' infile| grep -v ^#`; do
eval `echo "export " ${LINE}`
done
Thanks
Rajan
rajan_san
View Public Profile
Find all posts by rajan_san
Find rajan_san's past nominations received
Find rajan_san's present nominations given