daily pastebin goal
16%
SHARE
TWEET

Untitled

a guest Nov 28th, 2013 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. bash-4.1$ date +'hello world'
  2. hello world
  3.  
  4. bash-4.1$ runWithDelay () { sleep $1; shift; ${@}; }
  5.  
  6. bash-4.1$ runWithDelay 1 date +'hello world'
  7. date: extra operand `world'
  8. Try `date --help' for more information.
  9.  
  10. bash-4.1$ runWithDelay () { sleep $1; shift; "${@}"; }
  11.  
  12. bash-4.1$ runWithDelay 1 date +'hello world'
  13. hello world
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top