This is an automated email from the ASF dual-hosted git repository. granthenke pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/kudu.git
commit c1d16856bd4b3bb4b6242fa098d600b6ef321e6a Author: Grant Henke <[email protected]> AuthorDate: Thu Jul 11 16:16:29 2019 -0500 [docs] Fix quickstart IP one liner It was reported that on Linux an extra whitespace could be included breaking the one liner. This uses `awk` instead so exact spaces don't matter. Change-Id: Ie401578da12157b802752ff62885c4b4dc6b3a29 Reviewed-on: http://gerrit.cloudera.org:8080/13848 Tested-by: Grant Henke <[email protected]> Reviewed-by: Andrew Wong <[email protected]> --- docs/quickstart.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/quickstart.adoc b/docs/quickstart.adoc index 9ccaafd..3f775a8 100644 --- a/docs/quickstart.adoc +++ b/docs/quickstart.adoc @@ -60,7 +60,7 @@ Set the `KUDU_QUICKSTART_IP` environment variable to your ip address: [source,bash] ---- -$ export KUDU_QUICKSTART_IP=$(ifconfig | grep "inet " | grep -Fv 127.0.0.1 | cut -d" " -f2 | tail -1) +$ export KUDU_QUICKSTART_IP=$(ifconfig | grep "inet " | grep -Fv 127.0.0.1 | awk '{print $2}' | tail -1) ---- === Bring up the Cluster
