The element content is used to specify the content of the file being created when processing a textdump operation.
|
Note |
|---|---|
|
Of course, it is possible to use XML entity references in the #PCDATA or string of this element. |
|
<textdump base="/etc">
<file>group</file>
<content>
=root:x:0:
=bin:x:1:
=sys:x:2:
=kmem:x:3:
=tty:x:4:
=tape:x:5:
=daemon:x:6:
=floppy:x:7:
=disk:x:8:
=lp:x:9:
=dialout:x:10:
=audio:x:11:
</content>
</textdump>
The equivalent bash script is :
echo Generating file group cd /etc cat > group << 'EOF' root:x:0: bin:x:1: sys:x:2: kmem:x:3: tty:x:4: tape:x:5: daemon:x:6: floppy:x:7: disk:x:8: lp:x:9: dialout:x:10: audio:x:11: EOF