9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How to remove x lines form top and y lines form bottom.
This works, but like awk only cat file | head -n-y | awk 'NR>(x-1)'
so remove last 3 lines and 5 firstcat file | head -n-3 | awk 'NR>4' (5 Replies)
Discussion started by: Jotne
5 Replies
2. Shell Programming and Scripting
HI Guys,
I have data in File A.txt
RL03 RL03_A_1 RL03_B_1 RL03_C_1
RL03 -119.8 -119.5 -119.5
RL07 RL07_A_1 RL07_B_1 RL07_C_1
RL07 -119.3 -119.5 -119.5
RL15 RL15_A_1 RL15_C_1
RL15 -120.5 -119.4
RL16... (2 Replies)
Discussion started by: asavaliya
2 Replies
3. Web Development
Hi everyone,
I am glad to be part of this forum. My question is about setting up email on my website. I need to know how would I proceed in order to create a form so my visitors can register directly for email without me assigning them a password. In order words I need them to be able to... (2 Replies)
Discussion started by: jpotea9780
2 Replies
4. UNIX for Advanced & Expert Users
i am printing from unix (sco 5.0.6) to a remote printer (okidata 320) using facetwin. it prints fine but i get a form feed at the end of print. i have tried using the "sf" flag in printcap but it continues to form. how do i suppress the form feed?
./butch test gives
total 4
drwxrwxrwx ... (3 Replies)
Discussion started by: BUTCH ELLSWORTH
3 Replies
5. UNIX for Dummies Questions & Answers
I am user Of linux 9.0 Operating System and I had data form unix Operating system and I am not abel to open it in linux 9.0 Please tell me how can i use unix data in linux . (3 Replies)
Discussion started by: harsh_guru
3 Replies
6. Linux
Is there some command in linux/unix by which i can find a URL(Domain name)
if i have the ip of that server
please help me urgently require :eek: (1 Reply)
Discussion started by: wojtyla
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I've a text file that has a formfeed character at the beginning.
I want to get rid of this formfeed character using sed.
But I don't know how to specify the formfeed character.
I've tried \014 (octal for formfeed), \f but still not works.
Regards,
Johnny (5 Replies)
Discussion started by: johnny_woo
5 Replies
8. Shell Programming and Scripting
i need a script that when i fill in a form it will validate the e-mail address and check and tell the user if the have filled the form out wrong and then e-mail the details to the webmaster and bring up a page saying thank you and a link back to the main page.
anybody got one ????? (2 Replies)
Discussion started by: perleo
2 Replies
9. UNIX for Advanced & Expert Users
Please someone I need information on how to change a Unix form/document into a microsoft word document in order to be emailed to another company. Please help ASAP. Thankyou :confused: (8 Replies)
Discussion started by: Cheraunm
8 Replies
erl_pp(3erl) Erlang Module Definition erl_pp(3erl)
NAME
erl_pp - The Erlang Pretty Printer
DESCRIPTION
The functions in this module are used to generate aesthetically attractive representations of abstract forms, which are suitable for print-
ing. All functions return (possibly deep) lists of characters and generate an error if the form is wrong.
All functions can have an optional argument which specifies a hook that is called if an attempt is made to print an unknown form.
EXPORTS
form(Form) -> DeepCharList
form(Form, HookFunction) -> DeepCharList
Types Form = term()
HookFunction = see separate description below.
DeepCharList = [char()|DeepCharList]
Pretty prints a Form which is an abstract form of a type which is returned by erl_parse:parse_form .
attribute(Attribute) -> DeepCharList
attribute(Attribute, HookFunction) -> DeepCharList
Types Attribute = term()
HookFunction = see separate description below.
DeepCharList = [char()|DeepCharList]
The same as form , but only for the attribute Attribute .
function(Function) -> DeepCharList
function(Function, HookFunction) -> DeepCharList
Types Function = term()
HookFunction = see separate description below.
DeepCharList = [char()|DeepCharList]
The same as form , but only for the function Function .
guard(Guard) -> DeepCharList
guard(Guard, HookFunction) -> DeepCharList
Types Form = term()
HookFunction = see separate description below.
DeepCharList = [char()|DeepCharList]
The same as form , but only for the guard test Guard .
exprs(Expressions) -> DeepCharList
exprs(Expressions, HookFunction) -> DeepCharList
exprs(Expressions, Indent, HookFunction) -> DeepCharList
Types Expressions = term()
HookFunction = see separate description below.
Indent = integer()
DeepCharList = [char()|DeepCharList]
The same as form , but only for the sequence of expressions in Expressions .
expr(Expression) -> DeepCharList
expr(Expression, HookFunction) -> DeepCharList
expr(Expression, Indent, HookFunction) -> DeepCharList
expr(Expression, Indent, Precedence, HookFunction) ->-> DeepCharList
Types Expression = term()
HookFunction = see separate description below.
Indent = integer()
Precedence =
DeepCharList = [char()|DeepCharList]
This function prints one expression. It is useful for implementing hooks (see below).
UNKNOWN EXPRESSION HOOKS
The optional argument HookFunction , shown in the functions described above, defines a function which is called when an unknown form occurs
where there should be a valid expression. It can have the following formats:
Function :
The hook function is called by:
Function(Expr,
CurrentIndentation,
CurrentPrecedence,
HookFunction)
none :
There is no hook function
The called hook function should return a (possibly deep) list of characters. expr/4 is useful in a hook.
If CurrentIndentation is negative, there will be no line breaks and only a space is used as a separator.
BUGS
It should be possible to have hook functions for unknown forms at places other than expressions.
SEE ALSO
io(3erl) , erl_parse(3erl) , erl_eval(3erl)
Ericsson AB stdlib 1.17.3 erl_pp(3erl)