PDA

View Full Version : key value pair in file



pro_jayant
21st July 2004, 08:12 AM
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