The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
retrive value from a file
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Forum Rules
FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
retrive value from a file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
3
(
permalink
)
05-17-2008
agn
Registered User
Join Date: Feb 2008
Posts: 95
You mean this ?
Code:
for val in $(cut -f 2 -d'=' buf); do var1=$val; echo $var1; done
agn
View Public Profile
Find all posts by agn