afsegment

Langue: en

Version: 313747 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

afsegment - manipulate segments in an AFF file

SYNOPSIS

afsegment [options] file1.aff [file2.aff ...]

OPTIONS

-c
Create AFF files if they do not exist
-s segval
Sets the value of a segment; may be repeated
-v
Just print the version number and exit

Setting the segment values:

-s name=-
Take the new value of segment 'name' from stdin
-s name=val
Sets segment 'name' to be 'val'
-s name=<val
Sets segment 'name' to be contents of file 'val'

Setting the segment args:

-s name/arg
Sets segment 'name' arg to be 'arg' (may be repeated)

Setting both the segment value and the arg:

-s name/arg=val
Sets both arg and val for segment 'name'
-s name/arg=<file
Sets the arg and take contents from file 'file'
-s name/arg=-
Sets the arg of segment 'name' and take the contents from stdin
-d name
Delete segment 'name'
-h, -?
Print help message

Note: All deletions are done first, then all updates. Don't specify the same segment twice on one command line.

AUTHOR

afsegment is part of afflib and was written by Simson L. Garfinkel

This manual page was written by Kenny Duffus <kenny@duffus.org> for Ubuntu but may be used by others.