Fedora Linux Support Community & Resources Center
  #1  
Old 21st July 2004, 08:12 AM
pro_jayant Offline
Registered User
 
Join Date: Jul 2004
Location: India
Age: 31
Posts: 12
key value pair in file

hi everybody,
in some configuration scripts we have key value pairs. e.g.

Submit=False
Acount=Disable
Name=Psyche

how can i get and set a value for a key by bash scripting.

now suppose i hv something like this:
sequence=4,3,2,6,5

i want to change that 6 to 7. how can i do that.

i am new to bash scripting an dont hv in depth knowledge. some one help plz.
Any reference to book and related topic will be helpfull.

thanx
Reply With Quote
Reply

Tags
file, key, pair

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Key file contains line '? ?' which is not a key-value pair, group kahnoie Using Fedora 0 13th November 2008 01:42 PM


Current GMT-time: 23:55 (Friday, 19-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat