Comment

Comment by TeMPOraL

The main high-frequency bits are filesystem navigation and incrementally building pipes.

  cd foo/<tab>
  # oh, too many options
  <ret>
  ls -la
  cd bar/baz
  git status
  cat quux | grep xckd
  cat quux | grep -i xckd
  cat quux | grep -i xkcd
  cat quux | grep -i xkcd | xargs ...
etc.

The trial-and-error command refining is arguably what REPLs are for. It's the filesystem navigation that are the odd part.

(INB4: don't give me the "useless use of cat", it factors out better like this and everyone does it anyway.)

parent TeMPOraL 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton