Skip to content

Instantly share code, notes, and snippets.

@Alligator
Alligator / watchfile.sh
Last active August 29, 2015 14:05 — forked from swarminglogic/watchfile.sh
watchfile modified to work in osx
#!/bin/bash
version=1.0.1
versionDate="2014-02-14"
function showHelp() {
echo "watchfile - monitor file(s)/command and perform action when changed
Possible ways of usage
----------------------------------------
@Alligator
Alligator / really.cs
Created May 27, 2012 11:13 — forked from anonymous/really.cs
really?
if(i==1)
return 4;
if(i==2)
return 4;
if(i==3)
return 4;
if(i==4)
return 4;
if(i==5)
return 4;