forked from Imagelibrary/rtems
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
38 lines
1014 B
Raku
38 lines
1014 B
Raku
@c
|
|
@c COPYRIGHT (c) 1988-2002.
|
|
@c On-Line Applications Research Corporation (OAR).
|
|
@c All rights reserved.
|
|
|
|
@chapter General
|
|
|
|
@section Scope
|
|
|
|
@section Normative References
|
|
|
|
@section Conformance
|
|
|
|
@example
|
|
NGROUPS_MAX, Feature Flag,
|
|
_POSIX_ASYNCHRONOUS_IO, Feature Flag,
|
|
_POSIX_CHOWN_RESTRICTED, Feature Flag,
|
|
_POSIX_FSYNC, Feature Flag,
|
|
_POSIX_JOB_CONTROL, Feature Flag,
|
|
_POSIX_MAPPED_FILES, Feature Flag,
|
|
_POSIX_MEMLOCK, Feature Flag,
|
|
_POSIX_MEMLOCK_RANGE, Feature Flag,
|
|
_POSIX_MEMORY_PROTECTION, Feature Flag,
|
|
_POSIX_MESSAGE_PASSING, Feature Flag,
|
|
_POSIX_PRIORITIZED_IO, Feature Flag,
|
|
_POSIX_PRIORITY_SCHEDULING, Feature Flag,
|
|
_POSIX_REALTIME_SIGNALS, Feature Flag,
|
|
_POSIX_SEMAPHORES, Feature Flag,
|
|
_POSIX_SHARED_MEMORY_OBJECTS, Feature Flag,
|
|
_POSIX_SYNCHRONIZED_IO, Feature Flag,
|
|
_POSIX_TIMERS, Feature Flag,
|
|
_POSIX_THREAD_PRIO_INHERIT, Feature Flag,
|
|
_POSIX_THREAD_PRIORITY_SCHEDULING, Feature Flag,
|
|
_POSIX_THREADS, Feature Flag,
|
|
_POSIX_THREAD_SAFE_FUNCTIONS, Feature Flag,
|
|
@end example
|
|
|