diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-07-15 00:14:07 -0400 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-07-15 16:12:04 -0400 |
| commit | 01d7e8c2782f61e741f8beff7888adfbdb61779d (patch) | |
| tree | 316a62946fabcc1fedc509169f90fd042fb7c01b /doc | |
| parent | 423f5f867c78f47bb6b9cb452bc7dde702ba6742 (diff) | |
doc: Use Awk in one of the examples.
The output of the listing of available packages now contains a mix of tab and
space characters, so that its output is more pleasing to read. This preserves
most simple uses of 'cut', but the added extra space padding can cause a
change in behavior in some scenarios.
* doc/guix.texi (Invoking guix build): Replace 'cut' by 'awk' in one of the
examples.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 46cec73d119..60a9597355a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -10227,7 +10227,7 @@ Similarly, the following command builds all the available packages: | |||
| 10227 | 10227 | ||
| 10228 | @example | 10228 | @example |
| 10229 | guix build --quiet --keep-going \ | 10229 | guix build --quiet --keep-going \ |
| 10230 | $(guix package -A | cut -f1,2 --output-delimiter=@@) | 10230 | $(guix package -A | awk '@{ print $1 "@@" $2 @}') |
| 10231 | @end example | 10231 | @end example |
| 10232 | 10232 | ||
| 10233 | @var{package-or-derivation} may be either the name of a package found in | 10233 | @var{package-or-derivation} may be either the name of a package found in |
