Megatest

Diff
Login

Differences From Artifact [3b8b8dce99]:

To Artifact [6c86d9c83e]:


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
###############################################################################
#
# nbfake - capture command output in a logfile
#
# nbfake behavior can be changed by setting the following env vars:
#   NBFAKE_HOST       SSH to $NBFAKE_HOST and run command
#   NBFAKE_LOG        Logfile for nbfake output
#
###############################################################################

echo SHELL=$SHELL
if [[ -z "$@" ]]; then
  cat <<__EOF

nbfake usage:

nbfake <command to run>












<







1
2
3
4
5
6
7
8
9
10
11

12
13
14
15
16
17
18
#!/bin/bash
###############################################################################
#
# nbfake - capture command output in a logfile
#
# nbfake behavior can be changed by setting the following env vars:
#   NBFAKE_HOST       SSH to $NBFAKE_HOST and run command
#   NBFAKE_LOG        Logfile for nbfake output
#
###############################################################################


if [[ -z "$@" ]]; then
  cat <<__EOF

nbfake usage:

nbfake <command to run>