You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You probably meant "multi-string occurrence"? It took me a while to guess that.
Now, sed '/ICONST_1/{N;/DUP/{N;/POP2/d;}}' is supposed to remove any 3 consecutive lines such that the 1st line contains ICONST_1, the 2nd line contains DUP and the 3rd one contains POP2, right? So I've checked that your CtrlJ binding works for me: when I select text and press Ctrl-J, it removes all such 3 consecutive lines within the selected text, just like when I run this sed command from command line.
You probably meant "multi-string occurrence"? It took me a while to guess that.
Now, sed '/ICONST_1/{N;/DUP/{N;/POP2/d;}}' is supposed to remove any 3 consecutive lines such that the 1st line contains ICONST_1, the 2nd line contains DUP and the 3rd one contains POP2, right? So I've checked that your CtrlJ binding works for me: when I select text and press Ctrl-J, it removes all such 3 consecutive lines within the selected text, just like when I run this sed command from command line.
Interesting! I did a update and a reboot and now it works!
Following order following per line:
Tried stuff like
"CtrlJ": "command:textfilter sed '/ICONST_1/{N;/DUP/{N;/POP2/d;}}'"
but it doesn't work.What can I do?
The text was updated successfully, but these errors were encountered: