Setedit — Command

setedit '2d' example.txt This will output:

Hello world To perform multiple editing commands, we can use the -e option: Setedit Command

setedit 's/world/earth/' example.txt This will output: setedit '2d' example

Scroll to Top