diff --git a/docs/.#pv.1 b/docs/.#pv.1 new file mode 120000 index 0000000..1d287ad --- /dev/null +++ b/docs/.#pv.1 @@ -0,0 +1 @@ +aw@here.478752 \ No newline at end of file diff --git a/docs/pv.1 b/docs/pv.1 index 18f245f..a394ca5 100644 --- a/docs/pv.1 +++ b/docs/pv.1 @@ -790,24 +790,22 @@ takes control of the terminal away from .BR pv , preventing progress from being displayed. For example, this will produce no progress bar: - +.IP .in +4n .EX pv InputFile | { while read -r line; do sleep 0.001; done; } .EE .in -.PP -.IP "" 3 +.IP To work around this, put the last commands of the pipeline in normal brackets to force the use of a subshell: - +.IP .in +4n .EX pv InputFile | ( while read -r line; do sleep 0.001; done; ) .EE .in -.PP -.IP "" 3 +.IP Refer to .UR https://codeberg.org/a-j-wood/pv/issues/105 issue #105 diff --git a/docs/pv.1.md b/docs/pv.1.md index 14914fc..0456caf 100644 --- a/docs/pv.1.md +++ b/docs/pv.1.md @@ -594,14 +594,14 @@ The following problems are known to exist in **pv**: control of the terminal away from **pv**, preventing progress from being displayed. For example, this will produce no progress bar: - pv InputFile | { while read -r line; do sleep 0.001; done; } + pv InputFile | { while read -r line; do sleep 0.001; done; } -: To work around this, put the last commands of the pipeline in normal + To work around this, put the last commands of the pipeline in normal brackets to force the use of a subshell: - pv InputFile | ( while read -r line; do sleep 0.001; done; ) + pv InputFile | ( while read -r line; do sleep 0.001; done; ) -: Refer to [issue #105](https://codeberg.org/a-j-wood/pv/issues/105) + Refer to [issue #105](https://codeberg.org/a-j-wood/pv/issues/105) for full details. - The **-c** option does not work properly on Cygwin without