From b37a81f0adc4af28322fd32d2225235db79fe470 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joan=20Sol=C3=A0=20Ortega?= <jsola@iri.upc.edu>
Date: Fri, 20 Apr 2018 08:05:53 +0200
Subject: [PATCH] Update ReadMe.md

---
 wolf_scripts/ReadMe.md | 21 +++++++++++++++++----
 1 file changed, 17 insertions(+), 4 deletions(-)

diff --git a/wolf_scripts/ReadMe.md b/wolf_scripts/ReadMe.md
index 9477f7b69..d7d2c37c5 100644
--- a/wolf_scripts/ReadMe.md
+++ b/wolf_scripts/ReadMe.md
@@ -10,12 +10,17 @@ Helpful scripts to create WOLF tree elements (e.g. processors)
   
   ..*`sudo apt-get install realpath`
   
-  * __RealPath__ (Required, MacOSX): The realpath package above is not available for MacOSX. Here is an out-of-the-box alternative (credits to WaffleSouffle: https://stackoverflow.com/questions/3572030/bash-script-absolute-path-with-osx):
+  * __RealPath__ (Required, MacOSX): The realpath package above is not available for MacOSX. 
+    Here is an out-of-the-box alternative 
+    (credits to WaffleSouffle: https://stackoverflow.com/questions/3572030/bash-script-absolute-path-with-osx):
   
     - Create a small project `realpath` (here in `$HOME/dev/` as an example)
 
+    ```
     $ cd $HOME/dev
     $ mkdir realpath
+    $ cd realpath
+    ```
     
     - Create a file `realpath.c` with the contents:
   
@@ -27,7 +32,7 @@ Helpful scripts to create WOLF tree elements (e.g. processors)
 	int main (int argc, char* argv[])
 	{
   		if (argc > 1) {
-    			for (int argIter = 1; argIter < argc; ++argIter) {
+    		for (int argIter = 1; argIter < argc; ++argIter) {
       			char *resolved_path_buffer = NULL;
       			char *result = realpath(argv[argIter], resolved_path_buffer);
 
@@ -36,7 +41,7 @@ Helpful scripts to create WOLF tree elements (e.g. processors)
       			if (result != NULL) {
         				free(result);
       			}
-    			}
+    		}
   		}
 
   	return 0;
@@ -56,9 +61,17 @@ Helpful scripts to create WOLF tree elements (e.g. processors)
 		gcc -o $@ $^ $(CFLAGS)
 	```
 	
-	- Then compile with make and put in a soft link with:
+	- Then compile with `make`:
 	
+    ```
+    $ make
+    ```
+	 
+	- and put in a soft link with:
+	
+    ```
     $ ln -s $(pwd)/realpath /usr/local/bin/realpath
+    ```
   
 #### SCRIPTS installation  
 
-- 
GitLab