next up previous 204
Next: Escaping the Special Characters in a Group Expression
Up: Group Expressions
Previous: Flagging a Group Expression

Comments Within Group Expressions

It is often useful to mix comments with names, particularly within a text file. All group expressions (whether obtained from the environment or from a text file or as an argument) are truncated if a ``comment'' character is found (usually `#'' but this can be changed, see section [*]). Anything occurring after such a character is ignored. In a text file, the comment is assumed to extend from the comment character to the end of the line, so a new group expression may be given on the next line. Note, blank lines are not ignored. Each blank line within a text file will result in a blank name being added to the group.

next up previous 204
Next: Escaping the Special Characters in a Group Expression
Up: Group Expressions
Previous: Flagging a Group Expression

GRP Routines for Managing Groups of Objects
Starlink User Note 150
D.S. Berry
21st October 2009
E-mail:ussc@star.rl.ac.uk

Copyright © 2009 Science and Technology Facilities Council