summaryrefslogtreecommitdiff
path: root/localloopdump
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2013-05-05 21:59:01 +0200
committerJonas Smedegaard <dr@jones.dk>2013-05-05 21:59:01 +0200
commitda3dd87e3bae0e7d618c49d5deccfea75a54ea1b (patch)
tree1eef2fa7f20fa494dc2ece31cea196b8768cd835 /localloopdump
parent7dd297223c1ac1442138e7d3a9beac593b5dadd1 (diff)
Drop localloopdump: Better to use watch.
Diffstat (limited to 'localloopdump')
-rwxr-xr-xlocalloopdump20
1 files changed, 0 insertions, 20 deletions
diff --git a/localloopdump b/localloopdump
deleted file mode 100755
index 1de4054..0000000
--- a/localloopdump
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-#
-# /usr/local/bin/localloopdump
-# Copyright 2006 Jonas Smedegaard <dr@jones.dk>
-#
-# $Id: localloopdump,v 1.1 2006-12-02 17:18:30 jonas Exp $
-#
-# Endlessly loop of exec'ing a command and dumping its output to stdout
-#
-# TODO: Use getopts to make slepp time customizable
-#
-
-set -e
-
-while test 1 = 1; do
- output=$("$@")
- clear
- echo -n "$output"
- sleep 1
-done