1SAPHIRE(1)                  General Commands Manual                 SAPHIRE(1)
2
3
4

NAME

6       saphire script language
7
8       saphire  [-c  command]  [-s]  [-w]  [-e]  [-Lu] [-Lm] [-Lw] [--version]
9       [script file]
10
11       saphiresh [-c command] [-s] [-w] [-e]  [-Lu]  [-Lm]  [-Lw]  [--version]
12       [script file]
13
14

DESCRIPTION

16       saphire is a script language. You can use saphiresh command to interacā€
17       tive shell.
18
19       The following options are available
20
21       -c " string"
22       Commands described by string are executed and exit immediately.
23
24       -s
25       set encode as shift-jis
26
27       -w
28       set encode as Utf-8
29
30       -e
31       set encode as Eucjp
32
33       -Lu
34       set linefield as LF.
35
36       -Lm
37       set linefield as CR.
38
39       -Lw
40       set linefield as CRLF
41
42

USAGE

44       run saphiresh and run shelp inner command.
45
46

EXAMPLES

48       $ cat > hello.sa
49       puts "Hello World"
50       $ saphire hello.sa
51       Hello World
52
53       $ ls | saphire -c '|each (|if(|chomp|-d) (|print ))'
54       list of directories
55
56       $ saphiresh
57       -+- Welcome to saphire 3.6.5 -+-
58       run 'shelp' command for saphire help
59       saphire_shell >
60
62       Copyright 2012 by ab25cq
63
64
65
66
67                                                                    SAPHIRE(1)
Impressum