without questions there can be no answers

Is there a standard Unix shell command to pause for a given amount of time? One wouldn’t use this from the prompt, of course, but it might have its uses in scripts. Mine is to open a large number of files (local or Web), but not all at once:

cat list-of-files | xargs slow-open &

where slow-open looks like

#!/bin/sh
for i in $*
  do
    open $i
    pause 60
  done

It seems like unnecessary overkill to write pause in Python.

In unrelated news — I’ve heard that you can discourage vermin from stealing your pets’ food by setting out a sample spiked with emetic. Have you tried this, does it work? What drug is appropriate for a cat? A neighborhood tom has recently found our cats’ dish, and drops in every night as if he owns the place (if I’m not watching).

This entry was posted in neep-neep, pets. Bookmark the permalink.

2 Responses to without questions there can be no answers

  1. Anton says:

    As I remembered a few hours later while waiting for my passenger at Cody’s.

Leave a Reply

Your email address will not be published. Required fields are marked *