faq icon indicating copy to clipboard operation
faq copied to clipboard

first example doesn't work

Open silvio opened this issue 3 years ago • 1 comments

The very first example doesn't work

$ echo '{"hello":{"world":"whats up"},"with":"you"}' | faq
Error: no arguments provided                                                                                                                                                          
Usage:                                                                                                                                                                                
  faq [flags] [filter string] [files...]                                                                                                                                              
[...]

It also doesn't work with [...] | faq -. I would expect the following output

$ echo '{"hello":{"world":"whats up"},"with":"you"}' | faq     
{                                                                                          
  "hello": {                                                                               
    "world": "whats up"                                                                    
  },                                                                                       
  "with": "you"                                                                            
}                                                                                          

I think the problem came in with commit 78b0985a371827f9673a0c05dfc32f0a423c35ef.

silvio avatar May 19 '21 15:05 silvio

Yeah, this is fixed in HEAD, but not cut into a 0.0.8 release yet. I was hoping to get a few more fixes in, but seeing as it is a bug in a fairly common usage, I should probably just cut one ASAP.

jzelinskie avatar May 20 '21 18:05 jzelinskie