diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-09-07 21:47:22 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-09-07 21:47:22 -0700 |
| commit | 52a2b306922bb3db90491109380483f94c88ee21 (patch) | |
| tree | ab6f121c9285832b5d747ee55b04ad540f8263f3 /bb.c | |
| parent | 1da8fd266075f26a02ca8bbf2a6ebf86255b0e6b (diff) | |
Fixed mistake in `bb` function conditional
Diffstat (limited to 'bb.c')
| -rw-r--r-- | bb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -158,7 +158,7 @@ static const char *T_LEAVE_BBMODE = T_OFF(T_MOUSE_XY ";" T_MOUSE_CELL ";" T_MOUS static const char *T_LEAVE_BBMODE_PARTIAL = T_OFF(T_MOUSE_XY ";" T_MOUSE_CELL ";" T_MOUSE_SGR) T_ON(T_WRAP); static const char *bbcmdfn = "bb() {\n" -" if $# -eq 0; then cat >> $BBCMD; return; fi\n" +" if test $# -eq 0; then cat >> $BBCMD; return; fi\n" " for arg; do\n" " shift;\n" " if echo \"$arg\" | grep \"^+[^:]*:$\" >/dev/null 2>/dev/null; then\n" |
