Sponsored Content
Top Forums Shell Programming and Scripting calling a program (w/ params) from within shell Post 302243504 by Lorna on Monday 6th of October 2008 01:51:46 AM
Old 10-06-2008
Subhendu

Actually I tried that before and it didn't work either
I don't know the extention of s2. All I know that it's an executable now Smilie

Help
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Calling SHELL script from C program

Hi, I just tried to call a simple script from a pretty simple C program. I could not succeed :-( a message was thrown saying "sh: line 1: "Script name with path": Permission denied" The C program and shell script are below, both are in the same directory and shell script is given... (7 Replies)
Discussion started by: Chanakya.m
7 Replies

2. UNIX for Advanced & Expert Users

calling program

hi, i have a script.sh on my machine and it used in the system but my question is how can i know the program called this script.sh?? i.e. from where it called and execute?? Many thanks (1 Reply)
Discussion started by: alzuma
1 Replies

3. Shell Programming and Scripting

Calling Functions of Other K Shell Program

Hi, I have a K shell a.ksh function abc { // Some logic } In b.ksh i have included the a.ksh ./a.ksh I want to call the abc function from this b.ksh script. Thanks Vijay (2 Replies)
Discussion started by: vijaykrc
2 Replies

4. UNIX for Advanced & Expert Users

calling a Universe program

Can someone offer some technical advice concerning an call to a IBM U2 (Universe) program? When I use the following script from a unix shell, it works fine: $ " xxx.sh " (contains the following --->) 1. cd /links/ACCOUNT1 2. /shapps/ibm/uv/bin/uv "COUNT FILE1" ... (2 Replies)
Discussion started by: smintz
2 Replies

5. Shell Programming and Scripting

Run shell script from C program by calling fork and execl

I need to write a c program that uses the fork and excel system calls to run the shell script mode invoked like this: "./mode 644 ls -l" (that is the argumetns will always be 644 ls -l) here's the mode script: #!/bin/sh octal="$1" shift find . -maxdepth 1 -perm $octal -exec $@ {} \; ... (3 Replies)
Discussion started by: computethis
3 Replies

6. Shell Programming and Scripting

Calling a shell script from a C program

Hi, I have a shell script which connects to a database and fetches the count of the records from a table. I want to embed this whole script in a C program. Also the count fetched should be available in the C program for further usage. Please let me know how this can be done. Thanks ... (0 Replies)
Discussion started by: swasid
0 Replies

7. Programming

Calling a shell script from a C program

Hi, I have a shell script which connects to a database and fetches the count of the records from a table. I want to embed this whole script in a C program. Also the count fetched should be available in the C program for further usage. Please let me know how this can be done. Thanks (9 Replies)
Discussion started by: swasid
9 Replies

8. Shell Programming and Scripting

Calling perl script in shell program

How to call a perl script in shell program / shell scripting. PLS HELP ME (2 Replies)
Discussion started by: hravisankar
2 Replies

9. Homework & Coursework Questions

Calling compiled C program with Perl program

Long story short: I'm working inside of a Unix SSH under a bash shell. I have to code a C program that generates a random number. Then I have to call the compiled C program with a Perl program to run the C program 20 times and put all the generated random #s into a text file, then print that text... (1 Reply)
Discussion started by: jdkirby
1 Replies

10. Programming

Program crashes on calling __libc_msgrcv()

Hi, I am a newbie to linux programming. I have implemented msgqueue in C. msgrcv() call at the client end is as below: msgrcv( msgqid, msgptr, msgsize, msgtype, 0 ); My program works fine when msgrcv () from /lib/libc.so.6 is called. However it crashes when __libc_msgrcv() is called. ... (3 Replies)
Discussion started by: praasanna
3 Replies
SCAPIN(1)						     CAO-VLSI Reference Manual							 SCAPIN(1)

NAME
scapin - Scan path insertion ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSIS
scapin [-VRB] [-P file] Input_name Path_name Output_name DESCRIPTION
SCAPIN is an automatic scan path generator for gate level netlists. SCAPIN inserts a scan path in the netlist Input_name and drives a new netlist Output_name. This scan path contains all registers specified in the file Path_name.path (see below for the exact syntax). SCAPIN adds also 3 new connectors in the netlist: scan_in, scan_out and scan_test in order to control the scan path. Eventually SCAPIN adds an output buffer before the output connector scan_out (option -B). ENVIRONMENT VARIABLES
MBK_WORK_LIB(1) indicates the path to the read/write directory for the session. MBK_IN_LO(1) indicates the input netlist file format. MBK_OUT_LO(1) indicates the output netlist file format. SCAPIN_PARAM_NAME indicates the location of a parameter file (with extention .scapin) containing the properties (ports name, models name etc ...) of all cells needed for the scan path insertion. (see below for the exact syntax) OPTIONS
-V Sets verbose mode on. Each step is displayed on the standard output. -R All registers of the scan path are replaced by an equivalent scannable register cell (called reg-mux). (With the default option a simple multiplexor is added just before all registers of the scan path). -B Adds an output buffer before the output connector scan_out. -P file Specifies a parameter file (with extention .scapin) containing the properties of all cells needed for the scan path insertion. (see below for the exact syntax) # Example of .scapin file BEGIN_MUX MUX_MODEL mx2_x2 MUX_SEL cmd MUX_INPUT_SEL i1 MUX_INPUT_NSEL i0 MUX_VDD vdd MUX_VSS vss MUX_OUTPUT q END_MUX BEGIN_REG REG_MODEL sff1_x4 REG_CLK ck REG_INPUT i REG_VDD vdd REG_VSS vss REG_OUTPUT q REG_MUX mx2_x2 REG_REG_MUX sff2_x4 END_REG BEGIN_REG_MUX REG_MUX_MODEL sff2_x4 REG_MUX_SEL cmd REG_MUX_INPUT_SEL i1 REG_MUX_INPUT_NSEL i0 REG_MUX_CLK ck REG_MUX_VDD vdd REG_MUX_VSS vss REG_MUX_OUTPUT q REG_MUX_MUX mx2_x2 REG_MUX_REG sff1_x4 END_REG_MUX BEGIN_BUF BUF_MODEL buf_x2 BUF_INPUT i BUF_VDD vdd BUF_VSS vss BUF_OUTPUT q END_BUF Path_name Specifies a parameter file (with extention .path) containing an ordered list of all instances (registers) of the scan path. It contains also the name of the 3 connectors scan_in, scan_out and scan_test. (see below for the exact syntax) # Example of .path file BEGIN_PATH_REG cs_0 cs_1 cs_2 END_PATH_REG BEGIN_CONNECTOR SCAN_IN scin SCAN_OUT scout SCAN_TEST test END_CONNECTOR SEE ALSO
MBK_IN_LO(1). MBK_OUT_LO(1). MBK_WORK_LIB(1). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 Juin 29, 2000 SCAPIN(1)
All times are GMT -4. The time now is 08:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy