how2

Dev tools

command line help

SHOW HN2016

272points
43comments
#81of 2,264 in 2016
Top 4%of 2016 by points

How HN took it

MixedNo clear lean

10 positive, 6 neutral or asking, 0 mixed, 3 critical, out of 19 comments about the project. Thread score +0.19.

Design: 6 for, 0 againstExecution: 2 for, 0 againstIdea: 0 for, 2 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

  • Pretty-printed full answers with context, nicer than howdoi

    From 2 comments
    • It's also much nicer looking and more interactive, FWIW...I also agree with its defaults. ``` $ howdoi inverse grep a file ``` Simply pops this up: ``` $ grep -L "foo" * ```…
      danso on HN
    • The difference is that it's verbosity and pretty-print is the default for how2, and I think that's the more sensible choice, because it saves me the trouble of having to remember…
      danso on HN
  • Interactive curses UI is sleek and useful

    From 2 comments
    • Saw this earlier this morning but just had to use it and boom! It worked perfectly. I really like the idea of using things on the console and the user interface is nice and…
      haphazardeous on HN
    • Yes, though easily fixed: ``` alias howdoi="howdoi -a -c " ``` The other improvements from how2 being a curses app are helpful though.
      mixmastamyk on HN
  • Stays in the terminal and helps users

    From 2 comments
    • loving this! helps me stay in the terminal
      parsethis on HN
    • Nice! Installed it and will now make it part of all the computers I use. I found this funny: > It uses Google and Stackoverflow APIs, because Stackoverflow search on its own…
      danso on HN

Objections

  • Google-based search for Stack Overflow is odd

    From 2 comments
    • Nice! Installed it and will now make it part of all the computers I use. I found this funny: > It uses Google and Stackoverflow APIs, because Stackoverflow search on its own…
      danso on HN
    • Google ignores special characters though - that makes it really hard to search for some things.
      forgotpwtomain on HN
  • Intervening layer may erode Stack Overflow participation

    From 1 comment
    • My first reaction ("Wowza!") was tempered by the fear that this sort of intervening layer may erode participation (and thus quality) of Stack Overflow. I suppose such a thing…
      astazangasta on HN
  • Learning man pages may be better than depending on network content

    From 1 comment
    • Over the long run, if I'm living in the terminal rather than the browser, I probably will be better off learning to be effective finding help via `man` pages rather than taking…
      brudgers on HN

Requests

  • Support other Stack Exchange sites such as TeX and Server Fault

    From 2 comments
    • At first, I thought 'why2'?! But then I saw the video, the way you can specify a language, and the nice format that results are displayed in, along with the option to see more…
      GordonS on HN
    • Awesome! It would be great if I could use it to query any stackexchange site, like TeX, for instance. Like `how2 prevent table from floating -s tex` would search on tex.se
      andrepd on HN
  • Keyboard shortcut to open question in browser for voting

    From 1 comment
    • Very nice. I much prefer this to howdoi. A couple suggestions: Does the `-l lang` flag correspond to stackoverflow tags which aren't necessarily limited to languages? This should…
      chishaku on HN
  • Tag support with -l flag

    From 2 comments
    • Very nice. I much prefer this to howdoi. A couple suggestions: Does the `-l lang` flag correspond to stackoverflow tags which aren't necessarily limited to languages? This should…
      chishaku on HN
    • I'm not currently using tags, thank you for the suggestion. Not sure is available in the SO api, I'll check. The keyboard shortcut is not hard to add. You could do it yourself :P
      csantini on HN

Questions

  • How natural language processing is done in search

    From 1 comment
    • How does it perform the natural language processing in the search? Or does it rely on stackoverflow for that?
      amelius on HN
  • Which -l language value works for Windows cmd

    From 2 comments
    • This is awesome! I have one burning question though: what is the proper -l lang parameter to use for Windows consoles? I tried: how2 -l windows enable tab completion and got…
      redwards510 on HN
    • "how2 -l cmd change directory" works for me. "how2 -l cmd enable tab completion" still returns nothing, though; I think that's just a query it can't answer. (A quick manual…
      vadskye on HN

Alternatives named

  • howdoi

    From 2 comments
    • Or the more mature 'howdoi' - https://github.com/gleitz/howdoi
      Mizza on HN
    • howdoi beahaves in a very different way. It doesn't give you unix.stackexchange.com answers by default: $ howdoi unzip bz2 readcsvbz2file <- read.csv(bzfile("file.csv.bz2")) how2…
      csantini on HN
  • searchcmd

    From 1 comment
    • Another alternative that just searches google (or bing if you want to go crazy) and extracts commands from the search hits: https://github.com/jimmyppi/searchcmd ``` $ searchcmd…
      jimmyppi on HN
  • stacksort

    From 1 comment
    • This already exists: https://gkoberger.github.io/stacksort/
      ihuman on HN
  • apropos

    From 1 comment

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/11150209)