/usr/bin/arse is in scheme9 2010.11.13-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | #! /usr/bin/arse-core -f
; An arse(1) command for invoking the ARSE editor.
; by Nils M Holm, 2010
; See the LICENSE file of the S9fES package for terms of use
;
; Usage: arse [-r] [file ...]
(load-from-library "parse-optionsb.scm")
(define show-help (option #\h #f))
(define read-only (option #\r #f))
(define options `(,read-only
,show-help))
(define (usage)
(display "Usage: arse [-r] [file ...]")
(newline))
(let* ((files (parse-options! (sys:command-line) options usage)))
(cond ((opt-val show-help)
(display-usage
`(""
,usage
""
"ARSE is a Recursive Scheme Editor"
""
"-r read-only mode"
""))
(sys:exit 0)))
(let ((options (string-append
(if (opt-val read-only) "r" ""))))
(if (null? files)
(arse #f options)
(arse (car files) options))))
|