saphire - Man Page

Name

saphire script language

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

saphire is a script language. You can use saphiresh command to interactive shell.

The following options are available

-c " string"
Commands described by string are executed and exit immediately.

-s
set encode as shift-jis

-w
set encode as Utf-8

-e
set encode as Eucjp

-Lu
set linefield as LF.

-Lm
set linefield as CR.

-Lw
set linefield as CRLF

Usage

run saphiresh and run shelp inner command.

Examples

$ cat > hello.sa
puts "Hello World"
$ saphire hello.sa
Hello World

$ ls | saphire -c '|each (|if(|chomp|-d) (|print ))'
list of directories

$ saphiresh
-+- Welcome to saphire 3.6.5 -+-
run 'shelp' command for saphire help
saphire_shell >

Referenced By

The man page saphiresh(1) is an alias of saphire(1).