when

Dev tools

command line utility

SHOW HN2013

20points
13comments
#995of 1,739 in 2013
Top 58%of 2013 by points

How HN took it

MixedNo clear lean

1 positive, 3 neutral or asking, 0 mixed, 3 critical, out of 7 comments about the project. Thread score -0.23.

Idea: 1 for, 3 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 time saver over ad hoc shell one-liners

    From 1 comment
    • This could be quite handy as need to do this sort of thing surprisingly often and usually resort to a shell script one-liner like this: ``` while true; do echo "hello world";…
      laumars on HN

Objections

  • Equivalent to a bash while/until loop or watch; unclear why it is needed

    From 3 comments
    • What's the difference between this and the bash '&&' operator? Except for the timebomb flag, I don't really see any difference. Please correct me if I got this wrong. The '&&'…
      lipanski on HN
    • What is the difference between this and 'while true; do cmd1 && cmd2; sleep 1; done'
      chingjun on HN
    • watch -n 1 foo && echo "why does this exist?"
      mphillips34 on HN

Requests

  • More examples of the -t flag

    From 1 comment
    • Could you give some more examples of how you use `-t` ?
      sciurus on HN

Questions

  • What is the difference from && and until loops

    From 2 comments
    • What's the difference between this and the bash '&&' operator? Except for the timebomb flag, I don't really see any difference. Please correct me if I got this wrong. The '&&'…
      lipanski on HN
    • What is the difference between this and 'while true; do cmd1 && cmd2; sleep 1; done'
      chingjun on HN

Alternatives named

  • watch

    From 2 comments
    • This could be quite handy as need to do this sort of thing surprisingly often and usually resort to a shell script one-liner like this: ``` while true; do echo "hello world";…
      laumars on HN
    • watch -n 1 foo && echo "why does this exist?"
      mphillips34 on HN
  • bash while/until loops with && or sleep

    From 2 comments
    • What is the difference between this and 'while true; do cmd1 && cmd2; sleep 1; done'
      chingjun on HN
    • It looks to me more like ``` until cmd1 ; do sleep 1 ; done ; cmd2 ```
      mooism2 on HN

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/6888365)