Sponsored Content
Top Forums Shell Programming and Scripting How to create CRUD Shell Script #Help? Post 303005335 by rbatte1 on Tuesday 17th of October 2017 07:17:51 AM
Old 10-17-2017
I can't even see the code, so I'm completely blind and unable to help.

Please paste it into the thread using CODE tags:



Thanks, in advance,
Robin
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

create a shell script

create a shell script that process a file file contain f2f_100.txt 1234 kkk 12345 f2f_101.txt 1234 mmm 11111 retire_200.txt 2222 rrr 22222 retire_201.txt 1112 qqr 12122 output needed if first field is f2f then new file fb_$1 contain $2|$4 ... (3 Replies)
Discussion started by: maykap100
3 Replies

2. Shell Programming and Scripting

shell script to create dirs

hi, I would like to know of a shell script to create the following A script which will take in two parameters i.e. name of file and SID and create directories named /opt/oracle/admin/$SID/{bdump,cdump,udump}. Then edit the init file and change the three lines that look like this. ... (2 Replies)
Discussion started by: sjajimi
2 Replies

3. Shell Programming and Scripting

create a shell script that calls another script and and an awk script

Hi guys I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file. #!/bin/sh echo " $2 $3 $4 $5 $6 $7 isql -w400 -U$2 -S$5 -P$3 << xxx use $4 go print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies

4. Shell Programming and Scripting

Need help to create shell script.

When i run the following command it shows me following o/p # prtpicl -v -c temperature-sensor | sed -n '/T_TCORE/,/:name/ p' | grep Temperature 61 Temperature 62 i want to put this command in shell script so that when i run the script it says ********************* Proc1 ... (4 Replies)
Discussion started by: fugitive
4 Replies

5. Shell Programming and Scripting

Create helpmenu for shell script

Hello Community, I wrote a shell script, which (with some help of a few members of this forum:)) is doing what it should do... Now I think, it would be nice to tell the user of my little program, how he/she can use it. For this point, I created a help option, that can be called with "-h" after... (2 Replies)
Discussion started by: Sebi0815
2 Replies

6. Shell Programming and Scripting

To Create shell script files from a shell script

Dear Unix and Linux users, Good evening to all. I'm new to this community and thank you for having an wonderful forum. Dear members i had to create almost some 300 shell script files for a particular task. I tried something like this.... #!usr/bin/sh fname=epdb_jobs for x in `cat $fname`... (3 Replies)
Discussion started by: NehaB
3 Replies

7. Shell Programming and Scripting

Create DB table through shell script

Hi, Can anyone tell me that, How to create table in Oracle database through shell script(ksh). Table contains 3 fields, 1] Emp ID, String, primary key 2] Name, String 3] B Date, date. Thanks in advance. (6 Replies)
Discussion started by: Poonamol
6 Replies

8. Shell Programming and Scripting

Create Shell Script

Create a script to do the following : a. Poll for ctl file abc.ctl b. if the ctl file is found, then check for corresponding dat file(abc.dat) c. if dat file is not found then fail the process e. if dat file is found do file validation File Validation: a. Check the... (1 Reply)
Discussion started by: vivek1489
1 Replies

9. Shell Programming and Scripting

Need to create one batchfile using shell script

Hi, I want to create batch file using shell script. I am new to this world.Please help me to create batchfile. Batch file should contains following: Requirement is get the .zip file from the specified path and unzip the .zip file to some specified folder. This requirement I need to create... (1 Reply)
Discussion started by: santoshhegde
1 Replies

10. Shell Programming and Scripting

Shell script to create runtime variables based on the number of parameters passed in the script

Hi All, I have a script which intends to create as many variables at runtime, as the number of parameters passed to it. The script needs to save these parameter values in the variables created and print them abc.sh ---------- export Numbr_Parms=$# export a=1 while do export... (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
xmerl_scan(3erl)					     Erlang Module Definition						  xmerl_scan(3erl)

NAME
xmerl_scan - This module is the interface to the XML parser, it handles XML 1.0. DESCRIPTION
This module is the interface to the XML parser, it handles XML 1.0. The XML parser is activated through xmerl_scan:string/[1,2] or xmerl_scan:file/[1,2] . It returns records of the type defined in xmerl.hrl. See also tutorial on customization functions. DATA TYPES
global_state() : The global state of the scanner, represented by the #xmerl_scanner{} record. option_list() : Options allow to customize the behaviour of the scanner. See also tutorial on customization functions. Possible options are: {acc_fun, Fun} : Call back function to accumulate contents of entity. {continuation_fun, Fun} | {continuation_fun, Fun, ContinuationState} : Call back function to decide what to do if the scanner runs into EOF before the document is complete. {event_fun, Fun} | {event_fun, Fun, EventState} : Call back function to handle scanner events. {fetch_fun, Fun} | {fetch_fun, Fun, FetchState} : Call back function to fetch an external resource. {hook_fun, Fun} | {hook_fun, Fun, HookState} : Call back function to process the document entities once identified. {close_fun, Fun} : Called when document has been completely parsed. {rules, ReadFun, WriteFun, RulesState} | {rules, Rules} : Handles storing of scanner information when parsing. {user_state, UserState} : Global state variable accessible from all customization functions {fetch_path, PathList} : PathList is a list of directories to search when fetching files. If the file in question is not in the fetch_path, the URI will be used as a file name. {space, Flag} : 'preserve' (default) to preserve spaces, 'normalize' to accumulate consecutive whitespace and replace it with one space. {line, Line} : To specify starting line for scanning in document which contains fragments of XML. {namespace_conformant, Flag} : Controls whether to behave as a namespace conformant XML parser, 'false' (default) to not otherwise 'true'. {validation, Flag} : Controls whether to process as a validating XML parser: 'off' (default) no validation, or validation 'dtd' by DTD or 'schema' by XML Schema. 'false' and 'true' options are obsolete (i.e. they may be removed in a future release), if used 'false' equals 'off' and 'true' equals 'dtd'. {schemaLocation, [{Namespace,Link}|...]} : Tells explicitly which XML Schema documents to use to validate the XML document. Used together with the {validation,schema} option. {quiet, Flag} : Set to 'true' if xmerl should behave quietly and not output any information to standard output (default 'false'). {doctype_DTD, DTD} : Allows to specify DTD name when it isn't available in the XML document. This option has effect only together with {validation,'dtd' option. {xmlbase, Dir} : XML Base directory. If using string/1 default is current directory. If using file/1 default is directory of given file. {encoding, Enc} : Set default character set used (default UTF-8). This character set is used only if not explicitly given by the XML declaration. EXPORTS
accumulate_whitespace(T::string(), S::global_state(), X3::atom(), Acc::string()) -> {Acc, T1, S1} Function to accumulate and normalize whitespace. cont_state(S::global_state()) -> global_state() Equivalent to cont_state(ContinuationState, S) . cont_state(X::ContinuationState, S::global_state()) -> global_state() For controlling the ContinuationState, to be used in a continuation function, and called when the parser encounters the end of the byte stream. See tutorial on customization functions. event_state(S::global_state()) -> global_state() Equivalent to event_state(EventState, S) . event_state(X::EventState, S::global_state()) -> global_state() For controlling the EventState, to be used in an event function, and called at the beginning and at the end of a parsed entity. See tutorial on customization functions. fetch_state(S::global_state()) -> global_state() Equivalent to fetch_state(FetchState, S) . fetch_state(X::FetchState, S::global_state()) -> global_state() For controlling the FetchState, to be used in a fetch function, and called when the parser fetch an external resource (eg. a DTD). See tutorial on customization functions. file(Filename::string()) -> {xmlElement(), Rest} Types Rest = list() Equivalent to file(Filename, []) . file(Filename::string(), Options::option_list()) -> {xmlElement(), Rest} Types Rest = list() Parse file containing an XML document hook_state(S::global_state()) -> global_state() Equivalent to hook_state(HookState, S) . hook_state(X::HookState, S::global_state()) -> global_state() For controlling the HookState, to be used in a hook function, and called when the parser has parsed a complete entity. See tutorial on customization functions. rules_state(S::global_state()) -> global_state() Equivalent to rules_state(RulesState, S) . rules_state(X::RulesState, S::global_state()) -> global_state() For controlling the RulesState, to be used in a rules function, and called when the parser store scanner information in a rules database. See tutorial on customization functions. string(Text::list()) -> {xmlElement(), Rest} Types Rest = list() Equivalent to string(Test, []) . string(Text::list(), Options::option_list()) -> {xmlElement(), Rest} Types Rest = list() Parse string containing an XML document user_state(S::global_state()) -> global_state() Equivalent to user_state(UserState, S) . user_state(X::UserState, S::global_state()) -> global_state() For controlling the UserState, to be used in a user function. See tutorial on customization functions. AUTHORS
<> xmerl 1.2.8 xmerl_scan(3erl)
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy