Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 78844 Details for
Bug 87300
The following QA KEYWORDS are not documented in `man repoman`
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
repoman.generate
repoman.generate (text/plain), 1.22 KB, created by
SpanKY
on 2006-02-03 21:14:11 UTC
(
hide
)
Description:
repoman.generate
Filename:
MIME Type:
Creator:
SpanKY
Created:
2006-02-03 21:14:11 UTC
Size:
1.22 KB
patch
obsolete
>#!/bin/bash ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > ># Ghetto script to generate a repoman.1 manpage ># based upon `repoman --help` so we dont have to ># maintain both files. > >for repoman in . ./bin ../bin ; do > repoman=${repoman}/repoman > [[ -x ${repoman} ]] && break >done > >man=repoman.1 > >cat repoman.1.header > $man > >state=header >$repoman -h | \ >while read line ; do > set -- ${line} > case ${state} in > header) > if [[ ${line} == *Options* ]] ; then > state=options > echo ".SH OPTIONS" >> $man > fi > ;; > options) > if [[ $1 == -* ]] ; then > if [[ $1 == *, ]] ; then > shopt="\fB${1/,}\fR, " > longopt=$2 > shift ; shift > else > shopt="" > longopt=$1 > shift > fi > cat <<-EOF >> $man > .TP > ${shopt}\fB${longopt}\fR > $* > EOF > elif [[ $1 == *Modes* ]] ; then > state=modes > echo ".SH MODES" >> $man > fi > ;; > modes) > if [[ -n $1 ]] ; then > mode=$1 > shift > cat <<-EOF >> $man > .TP > .B ${mode} > $* > EOF > else > state=keywords > echo ".SH QA KEYWORDS" >> $man > fi > ;; > keywords) > if [[ $1 == *.* ]] ; then > mode=$1 > shift > cat <<-EOF >> $man > .TP > .B ${mode} > $* > EOF > fi > ;; > esac >done > >cat repoman.1.tail >> $man
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 87300
: 78844