OILS / test / gold / abuild.sh View on Github | oilshell.org

9 lines, 3 significant
1#!/usr/bin/env bash
2#
3# Snippets from abuild that we need to run correctly.
4
5is_function() {
6 type "$1" 2>&1 | head -n 1 | egrep -q "is a (shell )?function"
7}
8
9"$@"