Replies: 3 comments
|
Could you explain with an example and references? |
0 replies
|
Shelljs has a nice sample of it working here Something like this would work: await sed('-i', /^.*REMOVE_THIS_LINE.*$/, '', "file.txt") |
0 replies
|
I don't see why sed is more relevant than e.g. awk or perl. Why not directly use shelljs? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Since sed is such a common command, it would be nice to have a cross-platform command for that.
All reactions