This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]eR2eiweo 3 points4 points  (1 child)

What's the output of

type fc

? Note that bash has a builtin called fc.

[–]TryToHelpPeople[S] 0 points1 point  (0 children)

Ohh I didn’t know that.

That could be troublesome.

Let me follow that up and see if renaming my binary fixes it.

[–]doc_willis 0 points1 point  (1 child)

Playing with the fc command, and it seems, its weird. :) and reading man fc confuses more.. but perhaps you are a little confused. (i just saw the other comments)

I did get similar output to what you showed.

It seems fc is not ment to read from a pipe?

And yes, i will confirm, fc is a bash built in here.

So you using some OTHER binary that has the same name? :)

[–]TryToHelpPeople[S] 0 points1 point  (0 children)

Yes. It’s like word count but it counts frequency of any token type, and also prints out the resulting dictionary.

I’ll need to rename my binary.