Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e603cb10
Kaydet (Commit)
e603cb10
authored
Mar 16, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revive newind.py. -sigh-
üst
d98329cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
newind.py
Doc/tools/newind.py
+22
-0
No files found.
Doc/tools/newind.py
0 → 100755
Dosyayı görüntüle @
e603cb10
#! /usr/bin/env python
"""Really nasty little script to create an empty, labeled index on stdout.
Do it this way since some shells seem to work badly (and differently) with
the leading '
\b
' for the first output line. Specifically, /bin/sh on
Solaris doesn't seem to get it right. Once the quoting works there, it
doesn't work on Linux any more. ;-(
"""
__version__
=
'$Revision$'
# $Source$
import
sys
if
sys
.
argv
[
1
:]:
label
=
sys
.
argv
[
1
]
else
:
label
=
"genindex"
print
"
\\
begin{theindex}"
print
"
\\
label{
%
s}"
%
label
print
"
\\
end{theindex}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment