We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i\
a\
c\
$ cat bug.sed i\ $ ./sedsed.py -f bug.sed $ ./sedsed.py -e 'i\' $
The i command was ignored in both -e and -f.
i
-e
-f
The text was updated successfully, but these errors were encountered:
Fixed by the new sedparse parser, see #52.
sedparse
$ cat bug.sed i\ $ ./sedsed.py -f bug.sed i\ $ ./sedsed.py -e 'i\' i\ $
Sorry, something went wrong.
Mmmm, but that extra blank line in the output does not seem right.
Indeed, when running the debug, it is adding an extra blank line that it shouldn't:
$ seq 5 | sed -e '3i\' 1 2 3 4 5 $ seq 5 | ./sedsed.py -d -e '3i\' --hide=patt,hold,comm 1 2 3 4 5 $
When the i command is not at EOF, it works as expected:
$ seq 5 | ./sedsed.py -d -e '3i\' -e foo --hide=patt,hold,comm 1 2 foo 3 4 5 $
It seems it is a bug in sedparse, see aureliojargas/sedparse#2
No branches or pull requests
The
i
command was ignored in both-e
and-f
.The text was updated successfully, but these errors were encountered: