diff options
-rw-r--r-- | xe.1 | 3 | ||||
-rw-r--r-- | xe.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/xe.1 b/xe.1 index 13cdf7c..e14628d 100644 --- a/xe.1 +++ b/xe.1 @@ -87,7 +87,8 @@ stop and exit when a command execution failed. .It Fl L Run the commands with line-buffered output; lines from two jobs will not interleave. -When used with +When used twice, +or with .Fl vv , also prefix each line with the job id in such a manner that the output can be piped to diff --git a/xe.c b/xe.c index 777f1fd..bd08a68 100644 --- a/xe.c +++ b/xe.c @@ -279,7 +279,7 @@ run() if (rd == -1) exit(0); - if (vflag > 1) + if (vflag > 1 || Lflag > 1) printf("%04ld= ", iter); fwrite(line, 1, rd, stdout); }; |