Skip to content

A linux/Mac python script to look trough a file and change the value of a variable

Notifications You must be signed in to change notification settings

Quack6765/valuereplacer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Value Replacer

This is a little python script for Linux/Mac that will search a file and replace de value of a variable
The syntax should be the following:
[1] Is the name of the file
[2] Is the variable to look for
[3] Is the separator between the variable and the value'
[4] Is the new value
Example: test.txt apple = 1

This will search the file test.txt for value=something and change it to value=1
You can specify the separator / : , or anything you like

About

A linux/Mac python script to look trough a file and change the value of a variable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages