Skip to content

Commit bd6cb86

Browse files
committed
Modify bash/rl.sh
1 parent fcad691 commit bd6cb86

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bash/rl.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# rl: Run a bash command, only print output if it fails
22
#
3+
# Example: `rl build` prints nothing if the build succeeds, but the whole
4+
# log if it fails
5+
#
36
# The bash function `rl` runs its arguments, but redirects both
47
# stdout and stderr to a temporary output file, `/tmp/$USER/$$.out.txt`,
58
# where `$$` is a bash expression for the current process ID.

0 commit comments

Comments
 (0)