vmiklos.hu
shameless self-promoting website
»Root
»Rejourn root
Posted Tuesday, 15 August 2006 by Miklos
Tags: en hacking

#!/bin/bash

foo() { true }

if declare -f foo >/dev/null; then echo "foo() declared" else echo "foo() is not declared" fi

Comments