PythonSed icon indicating copy to clipboard operation
PythonSed copied to clipboard

A full and working Python implementation of sed

Results 4 PythonSed issues
Sort by recently updated
recently updated
newest added

I haven't look at the entire README but the section of using sed as python module isn't very clear. For example what does load_script() do? the file to be sed...

My data is : 192.168.0.0/24 the sed expressions is to convert from decimal to binary. s//00000000/g s//00000001/g ....... s//11111111/g this works fine on everything except for the /24. if there...

I am trying to use pythonsed to extract paragraphs of text from multiple log files. The output for the second and subsequest file is repeated for each file. first file...

Create `somefile` and get permissions (`644`) ```console $ echo "x" > somefile $ stat -c "%a %n" somefile 644 somefile ``` run `PythonSed` in place and get permissions: ```console $...