equal
deleted
inserted
replaced
10 |
10 |
11 |
11 |
12 <h3>relpipe-in-cli: Hello Wordl!</h3> |
12 <h3>relpipe-in-cli: Hello Wordl!</h3> |
13 |
13 |
14 <p> |
14 <p> |
15 Let's start with and obligatory Hello World example. |
15 Let's start with an obligatory Hello World example. |
16 </p> |
16 </p> |
17 |
17 |
18 <m:pre jazyk="bash"><![CDATA[relpipe-in-cli generate "relation_from_cli" 3 \ |
18 <m:pre jazyk="bash"><![CDATA[relpipe-in-cli generate "relation_from_cli" 3 \ |
19 "a" "integer" \ |
19 "a" "integer" \ |
20 "b" "string" \ |
20 "b" "string" \ |
303 <p> |
303 <p> |
304 And using following command we can verify, that the files differ only in comments and whitespace: |
304 And using following command we can verify, that the files differ only in comments and whitespace: |
305 </p> |
305 </p> |
306 |
306 |
307 <pre>relpipe-in-fstab | relpipe-out-fstab | diff -w /etc/fstab -</pre> |
307 <pre>relpipe-in-fstab | relpipe-out-fstab | diff -w /etc/fstab -</pre> |
|
308 |
|
309 <p> |
|
310 Another check (should print same hashes): |
|
311 </p> |
|
312 |
|
313 <pre><![CDATA[relpipe-in-fstab | sha512sum |
|
314 relpipe-in-fstab | relpipe-out-fstab | relpipe-in-fstab | sha512sum]]></pre> |
308 |
315 |
309 <p> |
316 <p> |
310 Regular implementation of <code>relpipe-out-fstab</code> will probably keep the comments |
317 Regular implementation of <code>relpipe-out-fstab</code> will probably keep the comments |
311 (it needs also one more attribute and small change in <code>relpipe-in-fstab</code>). |
318 (it needs also one more attribute and small change in <code>relpipe-in-fstab</code>). |
312 </p> |
319 </p> |