Skip to content

Instantly share code, notes, and snippets.

@brianmed
Created October 13, 2013 20:02
Show Gist options
  • Select an option

  • Save brianmed/6966815 to your computer and use it in GitHub Desktop.

Select an option

Save brianmed/6966815 to your computer and use it in GitHub Desktop.
Might need to check for variable existence with PERL5LIB.
#!/bin/tcsh
if ( ${?VARIABLE} ) then
echo "Joy:${VARIABLE}"
else
echo "Joy"
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment