From 01d7e8c2782f61e741f8beff7888adfbdb61779d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Thu, 15 Jul 2021 00:14:07 -0400 Subject: 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. --- doc/guix.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/guix.texi b/doc/guix.texi index 46cec73d11..60a9597355 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -10227,7 +10227,7 @@ Similarly, the following command builds all the available packages: @example guix build --quiet --keep-going \ - $(guix package -A | cut -f1,2 --output-delimiter=@@) + $(guix package -A | awk '@{ print $1 "@@" $2 @}') @end example @var{package-or-derivation} may be either the name of a package found in -- cgit v1.2.3