aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-10-31 15:36:11 +0100
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2022-10-31 15:36:11 +0100
commit78869e86cdae2f237352ef01f7f66ed8e8f9b75f (patch)
tree2d4dfa6b26e121bab4aa157ebe1d912e310ff66a
parentb6e4043565313f0b6ca396180c66d6194ae6c010 (diff)
downloadwebsite-78869e86cdae2f237352ef01f7f66ed8e8f9b75f.tar.gz
website-78869e86cdae2f237352ef01f7f66ed8e8f9b75f.zip
Add grep command into notes' section
-rw-r--r--docs/shell/commands.rhtml3
-rw-r--r--docs/shell/grep.rhtml7
-rw-r--r--docs/shell/grep.rhtml.config4
3 files changed, 13 insertions, 1 deletions
diff --git a/docs/shell/commands.rhtml b/docs/shell/commands.rhtml
index 3a029d2..d2922da 100644
--- a/docs/shell/commands.rhtml
+++ b/docs/shell/commands.rhtml
@@ -1,4 +1,5 @@
<h1>Elenco dei comandi della shell</h1>
<ul>
+ <li><a href="/docs/shell/grep.html">grep</a></li>
<li><a href="/docs/shell/jq.html">jq</a></li>
-</ul> \ No newline at end of file
+</ul>
diff --git a/docs/shell/grep.rhtml b/docs/shell/grep.rhtml
new file mode 100644
index 0000000..1863e23
--- /dev/null
+++ b/docs/shell/grep.rhtml
@@ -0,0 +1,7 @@
+<h1>Shell</h1>
+<h2>grep</h2>
+<h3>Usare i codici escape</h3>
+<p>Basta mettere il simbolo dollaro prima della stringa da ricercare:</p>
+<pre class="bordered">
+grep $'\t' sample.txt
+</pre>
diff --git a/docs/shell/grep.rhtml.config b/docs/shell/grep.rhtml.config
new file mode 100644
index 0000000..8b44c53
--- /dev/null
+++ b/docs/shell/grep.rhtml.config
@@ -0,0 +1,4 @@
+title: "Shell [grep]"
+category: notes
+pageNames: [shell, shell-commands, grep]
+master: [docs/shell/shell.tmpl, master.rhtml]