Skip to content

Instantly share code, notes, and snippets.

View georgemarselis's full-sized avatar
💀
alt.sysadmin.recovery

George Marselis georgemarselis

💀
alt.sysadmin.recovery
View GitHub Profile
@georgemarselis
georgemarselis / newscript.sh
Created April 29, 2020 06:35 — forked from aaronNGi/newscript.sh
Boilerplate for new POSIX shell scripts
#!/bin/sh
prog_name=${0##*/}
version=1.0
version_text="Boilerplate for new scripts v$version"
options="h o: q v V"
help_text="Usage: $prog_name [-o <text>] [-hqvV] [<file>]...
Boilerplate for new scripts
[root@intaristotle build]# make
Making all in config
make[1]: Entering directory '/lsc/sources/openmpi/4.0.0/build/config'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/lsc/sources/openmpi/4.0.0/build/config'
Making all in contrib
make[1]: Entering directory '/lsc/sources/openmpi/4.0.0/build/contrib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/lsc/sources/openmpi/4.0.0/build/contrib'
Making all in opal
@georgemarselis
georgemarselis / grep-irn_automake
Created March 5, 2019 13:19
[root@intaristotle openmpi-4.0.0]# grep -irn automake *
aclocal.m4:29:# AM_AUTOMAKE_VERSION(VERSION)
aclocal.m4:31:# Automake X.Y traces this macro to ensure aclocal.m4 has been
aclocal.m4:32:# generated from the m4 files accompanying Automake X.Y.
aclocal.m4:34:AC_DEFUN([AM_AUTOMAKE_VERSION],
aclocal.m4:36:dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
aclocal.m4:39: [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
aclocal.m4:49:# AM_SET_CURRENT_AUTOMAKE_VERSION
aclocal.m4:51:# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
aclocal.m4:52:# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
aclocal.m4:53:AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],