SAPHIRE(1)

πŸ“¦ version 3.6.5, in fedora 43, fedora 44

πŸŽ€ 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 as shift-jis 🈁
  • -w β€” sets the encode as Utf-8 ✨
  • -e β€” sets the encode as Eucjp 🎐
  • -Lu β€” sets the linefield as LF. πŸƒ
  • -Lm β€” sets the linefield as CR. πŸ‚
  • -Lw β€” sets the linefield as CRLF πŸͺ΅
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 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