From 8c9ee013cec346005bd694f043b07f67911a0ba5 Mon Sep 17 00:00:00 2001 From: YL Wang <121748352+code4yonglei@users.noreply.github.com> Date: Tue, 1 Oct 2024 12:26:33 +0200 Subject: [PATCH] remove `$` in the bash command lines in rst files --- content/cmake-syntax.rst | 12 ++++++------ .../01_producing-libraries/fortran/message.f90 | 2 +- .../fortran/messaging.mod | Bin 887 -> 884 bytes content/setup.rst | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/content/cmake-syntax.rst b/content/cmake-syntax.rst index 155fb9b..181a2fa 100644 --- a/content/cmake-syntax.rst +++ b/content/cmake-syntax.rst @@ -40,7 +40,7 @@ These are either CMake- or user-defined variables. You can obtain the list of CM .. code-block:: bash - $ cmake --help-variable-list + cmake --help-variable-list You can create a new variable with the ``set`` command: @@ -90,7 +90,7 @@ Help on a specific built-in variable can be obtained with: .. code-block:: bash - $ cmake --help-variable PROJECT_BINARY_DIR + cmake --help-variable PROJECT_BINARY_DIR @@ -104,7 +104,7 @@ You can find a complete list of available commands with: .. code-block:: bash - $ cmake --help-command-list + cmake --help-command-list **Functions** and **macros** are built on top of the basic built-in commands and are either CMake- or user-defined. These prove useful to avoid repetition in your CMake scripts. @@ -119,7 +119,7 @@ Help on a specific built-in command, function or macro can be obtained with: .. code-block:: bash - $ cmake --help-command target_link_libraries + cmake --help-command target_link_libraries @@ -140,13 +140,13 @@ The full list of built-in modules is available with: .. code-block:: bash - $ cmake --help-module-list + cmake --help-module-list Help on a specific built-in module can be obtained with: .. code-block:: bash - $ cmake --help-module CMakePrintHelpers + cmake --help-module CMakePrintHelpers diff --git a/content/code/01_producing-libraries/fortran/message.f90 b/content/code/01_producing-libraries/fortran/message.f90 index ddc6eb5..fca9b94 100644 --- a/content/code/01_producing-libraries/fortran/message.f90 +++ b/content/code/01_producing-libraries/fortran/message.f90 @@ -4,7 +4,7 @@ module messaging public Messenger type Messenger - character(len=19) :: message_ + character(len=32) :: message_ end type public print_message diff --git a/content/code/01_producing-libraries/fortran/messaging.mod b/content/code/01_producing-libraries/fortran/messaging.mod index 0e067db26ca0cc44d0755606d89cb78142f1a35f..660a3d184a6ed8b50d3bc058ed8b5b209a0883e4 100644 GIT binary patch literal 884 zcmV-)1B?70iwFP!000006TMg4a-u*GeebX6x50;O0bY_kB91P#2ox8yd7@m!#40Z- zaZ{W9`t1=xA{Q~6N+p)e)X;NI_vwqHq3!yvX5o4}|GkRvHQL3??FO0BWjNbK(|t6@ z#csRCbri?br|8?_UIs~O;b;6q`p^P;q>seJHPPlN+A(CwmCMZ&Lp3{+epF=R^0SPg zf|4}gt})>Q46GlP{b1b~md`CeTRN_-!*P*rqKq=Zk=m)fC}b$<-!)g$eeRN3`S5qz zktEP<%kwp|EQuRNwAncxOV`AYR;;Zu@z~0{AVo7Yp#~?G;!ICyy3RfCU>cmDZyI`L z_XtGJUQD3K$Lr}k7mZf7D??jV)Ly$Mx1fV84Cm1zTyB>8FmrQQ@BE488d~4vjaV6D zhd>+tji*ic0iNdi#*nr&6MfAcaX*nt8dCMhDqR;?<*2lvD;T`)r@y`meF7OLzSd8G zKnk>X74TjH{Ou)bjQnW$S}_sUM~4gP-_o7W)A*UB3Uzuelki!p!DR_MgjVx8$IXnvCnQdR*SibxyYN7so4j3=!yLR9k76)$fF}*{@ z!U(l-=p951`&CT-WzRX|~E4+4`XA*#kHQZ2c)FdspFKKj6Tq}&Qh%H4sSa(~WF z6>U)znnqnwmGfL{^;jUA%fH6ureWYz1yr@P>nqgKUbgXmJ>47#h;ZHJh7$7I#WaFJ zFdjc9W(Um1+hm^`m$*SkY#$1^)nG Kc~haA4gdh2$+Z9g literal 887 zcmV--1Bm<|iwFP!000006TMeWbD}^Hz4x!^+rS}PfFFrR#L=Y|fkH5w6XhxhAh2u5kE83jz_YOhHO}TmN8UO zl6u@T$GnGu{lj)1?K{)-5Y#xqfYvM;MrgoTkl=Cjg(DW^+z=?%8vlF^u@X=^*8r-03na0uX z0f=&ZF@>TWuBY!@H00y10u4>o+Ksj%LlapT&Z2p^h!?x?=;pB6`D5KP^{&Nhu`-7) zfj0fSkv`^oc)I7CecIA3^mT8*{ZuMhNVNm2Y<hO>k@Vet?qNmv9ctB zvn0xdnWhp-4}>>a{EgV@&4)s`a1HMDjDrJQveKbzqd&VSo+a$0%cAg}90ec08eK=6 z^zsl?^2RYSS#@%J4v14$LWT!(cvQkOU2oo4zWk`#Mg934Fr%RBIe~B59Js}Y^bQpZ zH}E*>)}#J33i;18FHx8X&jFu=kd{wy#@zGFo=AIib*iT$mm7jEx~?J8OA*jjY7OCh z5l@!vqR2uq$=f(WvBS$q*nwqL15r{qXU(D>TTq*OjZK!z^^`_|OU@;M6=->nf^l;p zI)(K;WhjYTEhaLYy;Q$H<_fZ?0BQ@%MwCMZK2on7JbK))-tq1Sw&9zOjRS5|;u`O? zQvnkS`i4r4W3yevS-XyI0t!Q?7g#(EQ8`YLYU!;P^AY6dquS$9L(9e^^1Q-(SEZLQTA!U6n9`Oq*|NBWn?fRUrU=u1wX$4zXMpgyekT0M#Aha%u6>YX< N_y;oDVHleZ0025eu#^A* diff --git a/content/setup.rst b/content/setup.rst index 692b6b7..072750f 100644 --- a/content/setup.rst +++ b/content/setup.rst @@ -70,8 +70,8 @@ If you can assess to the Dardel cluster, you can follow the instructions below t .. code-block:: bash - $ git clone https://github.com/ENCCS/intro-cmake.git - $ cd intro-cmake/content/code/ + git clone https://github.com/ENCCS/intro-cmake.git + cd intro-cmake/content/code/ - Following the steps in hand-on exercises to run the code examples.