frangipanni
Dev tools
command line text filter
SHOW HN2021
How HN took it
13 positive, 8 neutral or asking, 1 mixed, 2 critical, out of 24 comments about the project. Thread score +0.50.
Idea: 11 for, 0 againstExecution: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Useful for log files and grepping; handy with awk and pipelines
From 4 comments
I love what it does for log files. Abbreviated example from the README: ``` May 10 03:17:06 localhost systemd: Removed slice User Slice of root. May 10 03:17:06 localhost…
eevilspock on HNI love this as a post-processor for log-files. We actually have something like this at work. Unfortunately, it's applied to log-files by default. It's terrible: it breaks grep,…
clankyclanker on HNThis looks like what I always wanted for normalizing data sets and grepping logs but couldn't articulate. Thank you!
motohagiography on HNExceptional! I am a heavy user for `find <> | xargs grep` -- this makes my life so much sweeter. Thank you @birchb!
shipit on HN
Unix-style do one thing well tool
From 2 comments
Super cool, yo! Very unix – do one simple thing well.
kevmoo1 on HNI've been thinking about making something like this for a while, this is great! I always thought it was weird that "do one thing and one thing well" stopped short of dealing with…
kevinmgranger on HN
Output for spreadsheets is useful
From 1 comment
Awesome. You really nailed it. In my experience the output for spreadsheets turns out to be key so good job highlighting that…
breck on HN
Objections
Breaks grep on log files when applied by default
From 1 comment
I love this as a post-processor for log-files. We actually have something like this at work. Unfortunately, it's applied to log-files by default. It's terrible: it breaks grep,…
clankyclanker on HN
Name is hard to remember or unpleasant; suggested birch or txtree
From 3 comments
Great, very handy! Just FYI `readlink -f` doesn't work on macOS May I suggest the name txtree?
jarmitage on HNreally cool! But I think you should have called it "birch"! :) Any way you could add build instructions to the README?
shok3001 on HNI also wanted to vote for "birch". Apparently "frangipanni" is a nice flower, but it reminds me of an unpleasant (imho) German dessert ("frangipane").
Y_Y on HN
Requests
Homebrew packaging
From 1 comment
Very cool tool! Any chance that you're going to add it to Homebrew?
jedberg on HN
Build instructions in README
From 1 comment
really cool! But I think you should have called it "birch"! :) Any way you could add build instructions to the README?
shok3001 on HN
Interactive tree folding TUI
From 2 comments
Looks nice. Perhaps a next step could be an ncurses program that allows you to fold/unfold the trees at arbitrary places, and select entries to reveal their full path (useful for…
amelius on HNDefinitely very interesting! But I think I'd often end up stuck in the middle of a file with no context about the time of the current line, and struggling to scroll up to capture…
quietbritishjim on HN
Questions
How are repeated lines handled?
From 1 comment
Awesome. You really nailed it. In my experience the output for spreadsheets turns out to be key so good job highlighting that…
breck on HN
Is there documentation for the format?
From 1 comment
Neat! Is there some documentation on the format ?
rakoo on HN
Alternatives named
ncdu
From 1 comment
Maybe this is not super relevant, but my favorite hack is that any tree-like structure like this can be browsed with ncdu. Here's a gist for breaking down redis traffic by…
petethepig on HN
column --tree
From 1 comment
Neat. I'll add this to my toolbox. Somewhat unrelated: I discovered some time ago that the column command (from util-linux) can print trees of hierarchical data (up to 2 levels…
mklein994 on HN
tree --fromfile
From 1 comment
There is also ``` tree --fromfile ``` e.g. ``` echo a/b1 a/b2/c | xargs -n1 | tree --fromfile . └── a ├── b1 └── b2 └── c 2 directories, 2 files ```
oandrew on HN
s3-tree
From 1 comment
Ah yes, I was just thinking that this could be useful for `aws s3 ls` and similar. (Really I just want `tree` on `s3`. There's `s3-tree` but that uses the entire bucket rather…
inadequatespace on HN