Skip to content
New issue

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

can't process (named) pipe #72

Open
setop opened this issue Jul 10, 2024 · 0 comments
Open

can't process (named) pipe #72

setop opened this issue Jul 10, 2024 · 0 comments

Comments

@setop
Copy link

setop commented Jul 10, 2024

$ teip -og '([0-9]{1,3}\.){3}[0-9]{1,3}' -- sed -n 'i@@@.@@@.@@@.@@@' < test_secure

works

$ teip -og '([0-9]{1,3}\.){3}[0-9]{1,3}' -- sed -n 'i@@@.@@@.@@@.@@@' <(gzip -cd test_secure.gz) 

freezes

but

$ gzip -cd test_secure.gz | teip -og '([0-9]{1,3}\.){3}[0-9]{1,3}' -- sed -n 'i@@@.@@@.@@@.@@@'

works


$ file <(gzip -cd test_secure.gz) 
/dev/fd/63: symbolic link to pipe:[52260780]

$ file -L <(gzip -cd test_secure.gz) -
/dev/fd/63: fifo (named pipe)

$ cat /etc/debian_version 
12.6

$ teip --version
teip 2.3.2

$ ldd $(which teip)
        statically linked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant