equal
deleted
inserted
replaced
453 <p> |
453 <p> |
454 Even the relation names and attribute names are specified as a regular expression, so we can (purposefully) modify multiple relations or attributes. |
454 Even the relation names and attribute names are specified as a regular expression, so we can (purposefully) modify multiple relations or attributes. |
455 For example we can put zeroes in both <code>dump</code> and <code>pass</code> attributes: |
455 For example we can put zeroes in both <code>dump</code> and <code>pass</code> attributes: |
456 </p> |
456 </p> |
457 |
457 |
458 <m:pre jazyk="bash"><![CDATA[relpipe-in-fstab | relpipe-tr-sed 'fstab' 'dump|pass' '.*' '0' | relpipe-out-fstab]]></m:pre> |
458 <m:pre jazyk="bash"><![CDATA[relpipe-in-fstab | relpipe-tr-sed 'fstab' 'dump|pass' '.+' '0' | relpipe-out-fstab]]></m:pre> |
459 |
459 |
460 <p> |
460 <p> |
461 n.b. the data types must be respected, we can not e.g. put <code>abc</code> in the <code>pass</code> attribute because it is declared as <code>integer</code>. |
461 n.b. the data types must be respected, we can not e.g. put <code>abc</code> in the <code>pass</code> attribute because it is declared as <code>integer</code>. |
462 </p> |
462 </p> |
463 |
463 |