geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject [29/50] [abbrv] incubator-geode git commit: Modify gfsh echo examples to fit better horizontally on a page [#128514629]
Date Fri, 30 Sep 2016 00:33:36 GMT
Modify gfsh echo examples to fit better horizontally
on a page [#128514629]


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/f38a81a3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/f38a81a3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/f38a81a3

Branch: refs/staging/docs-grant1
Commit: f38a81a37ea4fe3580754f6b69b40cdf27ae0e67
Parents: 23e2f5c
Author: Karen Miller <kmiller@pivotal.io>
Authored: Mon Sep 12 14:40:50 2016 -0700
Committer: Karen Miller <kmiller@pivotal.io>
Committed: Mon Sep 12 14:40:50 2016 -0700

----------------------------------------------------------------------
 .../gfsh/command-pages/echo.html.md.erb         | 26 ++++++--------------
 1 file changed, 7 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/f38a81a3/tools_modules/gfsh/command-pages/echo.html.md.erb
----------------------------------------------------------------------
diff --git a/tools_modules/gfsh/command-pages/echo.html.md.erb b/tools_modules/gfsh/command-pages/echo.html.md.erb
index 9c49a1a..91b775e 100644
--- a/tools_modules/gfsh/command-pages/echo.html.md.erb
+++ b/tools_modules/gfsh/command-pages/echo.html.md.erb
@@ -30,32 +30,20 @@ echo [--string=value]
 echo --string="Hello World!"
 echo --string="Hello World! This is ${SYS_USER}"
 echo --string=${APP_FETCH_SIZE}
+```
+
+To see all the variable set in the shell:
 
-//To see all the variable set in the shell:
+``` pre
 echo --string=$*
 ```
 
 **Sample Output:**
 
 ``` pre
-gfsh>echo --string=$*
-           Property            | Value
------------------------------- | -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-APP_FETCH_SIZE                 | 1000
-APP_LAST_EXIT_STATUS           | 0
-APP_LOG_FILE                   | /home/user/gfsh-2013-03-04_12-13-44.log
-APP_NAME                       | gfsh
-APP_PWD                        | /home/user
-APP_QUERY_RESULTS_DISPLAY_MODE | table
-APP_QUIET_EXECUTION            | false
-SYS_CLASSPATH                  | /home/user/Pivotal_GemFire_821_b40169/lib/gemfire.jar:/home/user/Pivotal_GemFire_821_b40169/lib/antlr.jar:/home/user/Pivotal_GemFire_821_b40169/lib/gfsh-dependencies.jar:/home/user/Pivotal_GemFire_821_b40169/lib/pulse-dependencies.jar:.:/home/user/Pivotal_GemFire_821_b40169/lib/gemfire.jar:/home/user/Pivotal_GemFire_821_b40169/lib/antlr.jar:/home/user/Pivotal_GemFire_821_b40169/lib/gfSecurityImpl.jar:/home/user/Pivotal_GemFire_821_b40169/lib/jackson-core-asl-1.9.9.jar:/home/user/Pivotal_GemFire_821_b40169/lib/commons-logging.jar:/home/user/Pivotal_GemFire_821_b40169/lib/tomcat-embed-core.jar:/home/user/Pivotal_GemFire_821_b40169/lib/tomcat-embed-logging-juli.jar:/home/user/Pivotal_GemFire_821_b40169/lib/tomcat-embed-jasper.jar:/home/user/Pivotal_GemFire_821_b40169/SampleCode/tutorial/classes:/home/user/Pivotal_GemFire_821_b40169/SampleCode/helloworld/classes:/home/user/Pivotal_GemFire_821_b40169/SampleCode/quickstart/classes:/home/user/Pivotal_GemFir
 e_821_b40169/SampleCode/examples/dist/classes:/usr/java/jdk1.8.0_60/jre/../lib/tools.jar
-SYS_GEMFIRE_DIR                | /home/user/Pivotal_GemFire_821_b40169
-SYS_HOST_NAME                  | user
-SYS_JAVA_VERSION               | 1.8.0_60
-SYS_OS                         | Linux
-SYS_OS_LINE_SEPERATOR          | 
-SYS_USER                       | user
-SYS_USER_HOME                  | /home/user
+gfsh>echo --string=${SYS_JAVA_VERSION}
+Post substitution: echo --string=1.8.0_60
+1.8.0_60
 ```
 
 


Mime
View raw message