Sponsored Content
Top Forums Shell Programming and Scripting C shell script wont terminated if i don't modify the shebang Post 303008177 by Scott on Tuesday 28th of November 2017 06:18:21 AM
Old 11-28-2017
The shebang was quoted, then code tags were added after the original posting, so it seems the quotes weren't removed at that time

If it weren't for the it works with -f bit, I'd be inclined to ask the person for whom it doesn't work to check his VNC client configuration.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Is it possible in a shell script to modify itself ??

We are running a quiz and the data collected from the quiz is submitted to the database. My requirement is to write a shell script to get these submitted records. I should be able to run this shell script at any time and the records it returns should be the ones submitted after the script was... (5 Replies)
Discussion started by: sehgalniraj
5 Replies

2. Shell Programming and Scripting

how to modify a file using shell script

Hi, i am using SuonOS and ksh. i need to add data into a file(s.txt) using a shell script. i have to pass 3 parameters and these 3 paramaters should add into the file at end of the file. File s.txt is look like, --------------------------------- column1|column2|column3 ... (1 Reply)
Discussion started by: syamkp
1 Replies

3. UNIX for Dummies Questions & Answers

Foreground shell script terminated when session expired

Hi, I ran a shell script in the foreground but it seems that the shell script teminated when the session expired. Please let me knw if it's possible or hypothesis is incorrect ASAP. (2 Replies)
Discussion started by: Ankgne
2 Replies

4. Shell Programming and Scripting

Error in shell script when #!/bin/bash is used as shebang

#!/bin/ksh echo -en "\033|||'-')) echo -e "\033 The above script works fine when the interpreter is ksh, but outputs the following error when #!/bin/bash is used as shebang: test.sh: line 5: syntax error near unexpected token `(' test.sh: line 5: `case "$ACTIVATION_KEY" in +(|||'-'))' (2 Replies)
Discussion started by: proactiveaditya
2 Replies

5. UNIX for Dummies Questions & Answers

Tcl script wont run in bash shell

Hello I'm having a problem running a TCL script in my new OpenSolaris OS. When I go to the directory containing my script called 'Install' (using the gnome terminal), it doesn't seem to be able to find it even though it lists it i.e. if I type "Inst" and hit tab to complete the word, it... (11 Replies)
Discussion started by: sbsbg
11 Replies

6. Shell Programming and Scripting

Can we use two shebang statements in a single shell script?

Hi, As per my understanding, we can use two shebang statements in a single shell script. Please see below snippet- #!/bin/bash .......## some code A #!/bin/csh .......## some code B exit 0; Here, code A will be executed using bash shell and code B will be executed with c shell. ... (9 Replies)
Discussion started by: tarunmudgal4u
9 Replies

7. Shell Programming and Scripting

Shell script wont execute

Im using a script that writes a random line to a text file then executes another shell script. My problem is that the lottery shell script will not execute. Im not receiving an errors when running the shell script, and it copies a random line of text to mtest.txt fine. #!/bin/bash nscripts=2... (3 Replies)
Discussion started by: kylecn
3 Replies

8. Shell Programming and Scripting

Shell script to modify file in several directories

Hi, I want a script shell to automate modifying httpd.conf file for several instances of apache, save httpd.file before changing it, after modifying it and then restart apache. - Replace ServerRoot "xxxx" by ServerRoot "yyyy" of all directories : "... (4 Replies)
Discussion started by: bras39
4 Replies

9. Shell Programming and Scripting

How to modify character to UTF-8 in shell script?

I have a shell script running to load some data from a text file to database. Text file contains some non-ASCII characters like ü. How can i convert these characters to UTF-8 codes before loading to DB. (5 Replies)
Discussion started by: vel4ever
5 Replies

10. Shell Programming and Scripting

A shell script to run a script which don't get terminated and send a pattern from the output by mail

Hi Guys, I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
YAZ_ITEMORDER(3)							 1							  YAZ_ITEMORDER(3)

yaz_itemorder - Prepares for Z39.50 Item Order with an ILL-Request package

SYNOPSIS
void yaz_itemorder (resource $id, array $args) DESCRIPTION
This function prepares for an Extended Services request using the Profile for the Use of Z39.50 Item Order Extended Service to Transport ILL (Profile/1). See this and the specification. PARAMETERS
o $id - The connection resource returned by yaz_connect(3). o $args - Must be an associative array with information about the Item Order request to be sent. The key of the hash is the name of the corresponding ASN.1 tag path. For example, the ISBN below the Item-ID has the key item-id,ISBN. The ILL-Request parameters are: transaction-id,initial-requester-id,person-or-institution-symbol,person transaction-id,initial-requester-id,person-or-institution- symbol,institution transaction-id,initial-requester-id,name-of-person-or-institution,name-of-person transaction-id,initial- requester-id,name-of-person-or-institution,name-of-institution transaction-id,transaction-group-qualifier transaction-id,transac- tion-qualifier transaction-id,sub-transaction-qualifier service-date-time,this,date service-date-time,this,time service-date- time,original,date service-date-time,original,time requester-id,person-or-institution-symbol,person requester-id,person-or-institu- tion-symbol,institution requester-id,name-of-person-or-institution,name-of-person requester-id,name-of-person-or-institution,name- of-institution responder-id,person-or-institution-symbol,person responder-id,person-or-institution-symbol,institution responder- id,name-of-person-or-institution,name-of-person responder-id,name-of-person-or-institution,name-of-institution transaction-type delivery-address,postal-address,name-of-person-or-institution,name-of-person delivery-address,postal-address,name-of-person-or- institution,name-of-institution delivery-address,postal-address,extended-postal-delivery-address delivery-address,postal- address,street-and-number delivery-address,postal-address,post-office-box delivery-address,postal-address,city delivery- address,postal-address,region delivery-address,postal-address,country delivery-address,postal-address,postal-code delivery- address,electronic-address,telecom-service-identifier delivery-address,electronic-address,telecom-service-addreess billing- address,postal-address,name-of-person-or-institution,name-of-person billing-address,postal-address,name-of-person-or-institu- tion,name-of-institution billing-address,postal-address,extended-postal-delivery-address billing-address,postal-address,street-and- number billing-address,postal-address,post-office-box billing-address,postal-address,city billing-address,postal-address,region billing-address,postal-address,country billing-address,postal-address,postal-code billing-address,electronic-address,telecom-ser- vice-identifier billing-address,electronic-address,telecom-service-addreess ill-service-type requester-optional-messages,can-send- RECEIVED requester-optional-messages,can-send-RETURNED requester-optional-messages,requester-SHIPPED requester-optional-mes- sages,requester-CHECKED-IN search-type,level-of-service search-type,need-before-date search-type,expiry-date search-type,expiry-flag place-on-hold client-id,client-name client-id,client-status client-id,client-identifier item-id,item-type item-id,call-number item- id,author item-id,title item-id,sub-title item-id,sponsoring-body item-id,place-of-publication item-id,publisher item-id,series- title-number item-id,volume-issue item-id,edition item-id,publication-date item-id,publication-date-of-component item-id,author-of- article item-id,title-of-article item-id,pagination item-id,ISBN item-id,ISSN item-id,additional-no-letters item-id,verification- reference-source copyright-complicance retry-flag forward-flag requester-note forward-note user-id contact-name contact-phone contact-email itemorder-item RETURN VALUES
No value is returned. PHP Documentation Group YAZ_ITEMORDER(3)
All times are GMT -4. The time now is 09:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy