about summary refs log tree commit diff
path: root/Doc/Zsh/mod_attr.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-03-03 15:04:15 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-03-03 15:04:15 +0000
commitd58e5061ad49a3778dd1295e28810ad1f6e44cf6 (patch)
treed05af96bd224cdc79dc5beda68faeeb8a1844b35 /Doc/Zsh/mod_attr.yo
parent29233548ae94e0925b03d224e782075f2ae0d7ea (diff)
downloadzsh-d58e5061ad49a3778dd1295e28810ad1f6e44cf6.tar.gz
zsh-d58e5061ad49a3778dd1295e28810ad1f6e44cf6.tar.xz
zsh-d58e5061ad49a3778dd1295e28810ad1f6e44cf6.zip
Mikael Magnusson: 26670: add zsh/attr module
Diffstat (limited to 'Doc/Zsh/mod_attr.yo')
-rw-r--r--Doc/Zsh/mod_attr.yo34
1 files changed, 34 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_attr.yo b/Doc/Zsh/mod_attr.yo
new file mode 100644
index 000000000..ed444d0d7
--- /dev/null
+++ b/Doc/Zsh/mod_attr.yo
@@ -0,0 +1,34 @@
+COMMENT(!MOD!zsh/attr
+Builtins for manipulating extended attributes (xattr).
+!MOD!)
+The tt(zsh/attr) module is used for manipulating extended attributes.
+The builtins in this module are:
+
+startitem()
+findex(zgetattr)
+cindex(extended attributes, xattr, getting from files)
+item(tt(zgetattr) var(filename) var(attribute) [ var(parameter) ])(
+Get the extended attribute var(attribute) from the specified
+var(filename). If the optional argument var(parameter) is given, the
+attribute is set on that parameter instead of being printed to stdout.
+)
+findex(zsetattr)
+cindex(extended attributes, xattr, setting on files)
+item(tt(zsetattr) var(filename) var(attribute) var(value))(
+Set the extended attribute var(attribute) on the specified
+var(filename) to var(value).
+)
+findex(zdelattr)
+cindex(extended attributes, xattr, removing, deleting)
+item(tt(zdelattr) var(filename) var(attribute))(
+Remove the extended attribute var(attribute) from the specified
+var(filename).
+)
+findex(zlistattr)
+cindex(extended attributes, xattr, listing)
+item(tt(zlistattr) var(filename) [ var(parameter) ])(
+List the extended attributes currently set on the specified
+var(filename). If the optional argument var(parameter) is given, the
+list of attributes is set on that parameter instead of being printed to stdout.
+)
+enditem()