SAPHIRE(1)
π NAME π
saphire script language β it's giving programming language, it's giving main character π
β¨ synopsis β¨
saphire [-c command] [-s] [-w] [-e] [-Lu] [-Lm] [-Lw] [--version]
[script file]
saphiresh [-c command] [-s] [-w] [-e] [-Lu] [-Lm] [-Lw] [--version]
[script file]
πΈ DESCRIPTION πΈ
okay so bestie, listen: saphire is a script language β¨ That's the whole vibe. And if you wanna just vibe in an interactive shell instead of writing whole files, you use the saphiresh command π«Ά
The following options are available π
-c " string"β the commands described by string get executed and then it dips immediately, no hanging around π¨-sβ sets the encode asshift-jisπ-wβ sets the encode asUtf-8β¨-eβ sets the encode asEucjpπ-Luβ sets the linefield asLF. π-Lmβ sets the linefield asCR. π-Lwβ sets the linefield asCRLFπͺ΅
heads up: --version shows up in the synopsis, so it's out here existing in the wild, iykyk π (the manpage lists the options above as the ones available, fr fr.)
π¦ USAGE π¦
run saphiresh and run the shelp inner command π That's literally it. shelp is your bestie for saphire help, no cap π
π EXAMPLES π
first up, the classic hello world era π
$ cat > hello.sa
puts "Hello World"
$ saphire hello.sa
Hello World
next, piping into saphire with -c and getting a whole list of directories out of it, we love to see it π₯
$ ls | saphire -c '|each (|if(|chomp|-d) (|print ))'
list of directories
and finally, the interactive shell experience πΈ look at that banner, it's iconic:
$ saphiresh
-+- Welcome to saphire 3.6.5 -+-
run 'shelp' command for saphire help
saphire_shell >
π COPYRIGHT π
Copyright 2012 by ab25cq
and that's the whole page bestie π
this little gem is from the General Commands Manual, filed under SAPHIRE(1) at the bottom like a little signature π tysm for reading, go write something slay in saphire fr fr β¨π¦
π¦ where this page comes from
- fedora 43: saphire 3.6.5-36.fc43 Β· MIT
- fedora 43: saphire 3.6.5-36.fc43 Β· MIT
- fedora 44: saphire 3.6.5-37.fc44 Β· MIT
- fedora 44: saphire 3.6.5-37.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms