Closed david-askari closed 3 months ago
Looks like right now using stdin doesn't populate ctx
so f2 just defaults to processing the whole current directory. xargs
works because it just puts the string at the end of f2 command.
Thanks for reporting this! I've already fixed it locally, just need to add some tests:
Tick this box to confirm you have reviewed the above.
What version of F2 are you using?
1.9.1
How did you install F2?
apt
with Debian Bookworm packagesWhat operating system are you using F2 on?
Debian 12 'Bookworm'
Describe your bug.
When using
fd
as input pipe tof2
, direct piping does not working as expected. Piping instead intoxargs
withf2
results in the expected behaviour.What are the steps to reproduce the behavior?
What behaviour did you observe?
When piping from
fd
directly intof2
, the input isfoo
andbar
. Althoughfd
returns onlyfoo
.What is the expected behaviour?
f2
should processfoo
only.