version 1.19, 2003/12/19 09:27:36 |
version 1.20, 2003/12/19 12:48:02 |
|
|
and is executed at the time it would have been opened if it were a filename. |
and is executed at the time it would have been opened if it were a filename. |
.Pp |
.Pp |
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width "-safe " |
.It Fl d Ns Op Ar n |
.It Fl d Ns Op Ar n |
Debug mode. |
Debug mode. |
Set debug level to |
Set debug level to |
|
|
.Ar $0 . |
.Ar $0 . |
String constants are quoted |
String constants are quoted |
.Li \&"" , |
.Li \&"" , |
with the usual C escapes recognized within. |
with the usual C escapes recognized within |
|
(see |
|
.Xr printf 1 |
|
for a complete list of these). |
Expressions take on string or numeric values as appropriate, |
Expressions take on string or numeric values as appropriate, |
and are built using the operators |
and are built using the operators |
.Ic + \- * / % ^ |
.Ic + \- * / % ^ |
(exponentiation), and concatenation (indicated by whitespace). |
.Pq exponentiation , |
|
and concatenation |
|
.Pq indicated by whitespace . |
The operators |
The operators |
.Ic \&! ++ \-\- += \-= *= /= %= ^= |
.Ic \&! ++ \-\- += \-= *= /= %= ^= |
.Ic > >= < <= == != ?: |
.Ic > >= < <= == != ?: |
|
|
.Pp |
.Pp |
Variable names with special meanings: |
Variable names with special meanings: |
.Pp |
.Pp |
.Bl -tag -width "FILENAME" -compact |
.Bl -tag -width "FILENAME " -compact |
.It Va ARGC |
.It Va ARGC |
Argument count, assignable. |
Argument count, assignable. |
.It Va ARGV |
.It Va ARGV |
|
|
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr egrep 1 , |
.Xr egrep 1 , |
.Xr lex 1 , |
.Xr lex 1 , |
|
.Xr printf 1 , |
.Xr sed 1 , |
.Xr sed 1 , |
.Xr printf 3 |
.Xr printf 3 |
.Rs |
.Rs |