Skip to main content
deleted 1 character in body
Source Link
Zombo
  • 1
  • 5
  • 18

Here is an example based on the comment:

ex -sc 'g/\%2l\|\%4l\v%2l|%4l/pu_' -cx alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt

Here is an example based on the comment:

ex -sc 'g/\%2l\|\%4l/pu_' -cx alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt

Here is an example based on the comment:

ex -sc 'g/\v%2l|%4l/pu_' -cx alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt
deleted 3 characters in body
Source Link
Zombo
  • 1
  • 5
  • 18

Here is an example based on the comment:

ex -s -csc 'g/\%2l\|\%4l/pu_' -c xcx alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt

Here is an example based on the comment:

ex -s -c 'g/\%2l\|\%4l/pu_' -c x alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt

Here is an example based on the comment:

ex -sc 'g/\%2l\|\%4l/pu_' -cx alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt
Source Link
Zombo
  • 1
  • 5
  • 18

Here is an example based on the comment:

ex -s -c 'g/\%2l\|\%4l/pu_' -c x alfa.txt

Here is a working alternative to my original command:

ex -sc '4pu_|2pu_|x' alfa.txt