Sponsored Content
Top Forums Shell Programming and Scripting Python passing multiple parameters to functions Post 302972587 by Aia on Sunday 8th of May 2016 01:00:44 PM
Old 05-08-2016
Would you be willing to post a few lines from the input text? Also, if you do not mind, could you show what any of those subfuncx functions do. What you have posted is not enough to provide a meaningful suggestion without a lot of guessing.
The more you can show to understand what you are trying to do the faster that it would be for you to get an answer.

Last edited by Aia; 05-08-2016 at 05:45 PM..
This User Gave Thanks to Aia For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

passing command line parameters to functions - sh

All, I have a sh script of the following tune: function a () { #functionality.. } function b () { #functionnlity.. } function check () { # this function checks for env and if all fine call build } function usage () { #sh usage details } function build () { #calls either a or b or... (5 Replies)
Discussion started by: vino
5 Replies

2. Shell Programming and Scripting

Passing arrays between functions

Hi, I have a function that hold 3 arrayies. I need to pass them to another function as an input, for further use Could you please explain how to do that. Thanks (5 Replies)
Discussion started by: yoavbe
5 Replies

3. Shell Programming and Scripting

passing multiple files as parameters

hi all i am etl guy i have shell script that i use to do processing on file. the problem is that i want it to use on multiple files at same time is there any way of passing the file name since my all my filename start with samename like abc* p,ease let me know (4 Replies)
Discussion started by: er_zeeshan05
4 Replies

4. Shell Programming and Scripting

Get the List of functions with modified parameters

Hi I have 2 files a.c and a.bak where I changed long to int using awk script. I want to get the list of functions whose parameters got modified for eg: fun ( long a, long b ) might be changed to fun ( int a, int b ) (1 Reply)
Discussion started by: Sivaswami
1 Replies

5. Shell Programming and Scripting

perl - passing hash references to functions

hi there I have the following script in which i have created a PrintHash() function. I want to pass to this function the reference to a hash (in the final code i will be passing different hashes to this print function hence the need for a function). I am getting an error Type of arg 1 to... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

6. Shell Programming and Scripting

Handling parameters in Shell Functions

Hi, Please help me with the below situation where I have to handle the parameters passed to a function in a unique way. Below is the code, which I am trying to execute. I basically want to pass the parameter to a function, where I am trying to get user input into array(s). I want to name... (7 Replies)
Discussion started by: bharath.gct
7 Replies

7. Shell Programming and Scripting

Question on passing multiple parameters in if

Hi All, My target is to find the list of orphan processes running and i issue the below command with some exception ids. ps -ef | egrep -v "root|system|admin" | awk '{if ($3 == 1) print $1",\t"$2",\t"$3}' but this will exclude the process having the word 'root' and executing under different... (1 Reply)
Discussion started by: Arunprasad
1 Replies

8. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies

9. Shell Programming and Scripting

Pass parameters to a function and running functions in parallel

Hi , I have a script which is using a text file as I/P. I want a code where it reads n lines from this file and pass the parameters to a function and now this script should run in such a way where a function can be called in parallel with different parameters. Please find below my script, it... (1 Reply)
Discussion started by: Ravindra Swan
1 Replies

10. Shell Programming and Scripting

ksh While Loop - passing variables to functions

I'm reading a text file using a while loop but when I call a function from within this loop it exits that same iteration … even though there are many more lines in the file to be read. I thought it was something to do with the IFS setting but it appears that a function call (when run... (3 Replies)
Discussion started by: user052009
3 Replies
VCD-INFO(1)							   User Commands						       VCD-INFO(1)

NAME
vcd-info - manual page for vcd-info 0.7.24 SYNOPSIS
vcd-info [OPTION...] DESCRIPTION
-a, --access-mode=ACCESS set CD-ROM access mode (IOCTL, READ_10, READ_CD) -b, --bin-file[=FILE] set "bin" CD-ROM disk image file as source -c, --cue-file[=FILE] set "cue" CD-ROM disk image file as source -N, --nrg-file[=FILE] set Nero CD-ROM disk image file as source --toc-file[=FILE] set "toc" CD-ROM disk image file as source -i, --input[=FILE] set source and determine if "bin" image or device --no-ext-psd ignore information in /EXT/PSD_X.VCD --sector-2336 use 2336 byte sector mode for image file -C, --cdrom-device[=DEVICE] set CD-ROM device as source -d, --debug=INT Set debugging output to LEVEL -t, --terse same as --no-header --no-banner --no-delimiter -B, --no-banner do not show program banner header and RCS version string -D, --no-delimiter do not show delimiter lines around various sections of output -H, --no-header do not show section header titles --show-entries=STRING show specific entry of the ENTRIES section -E, --show-entries-all show ENTRIES section -F, --show-filesystem show filesystem info --show-info=STRING show specific entry of the INFO section -I, --show-info-all show INFO section -L, --show-lot show LOT section -p, --show-psd show PSD section(s) -P, --show-pvd-all show PVD section(s) --show-pvd=STRING show a specific entry of the Primary Volume Descriptor (PVD) section -s, --show-scandata show scan data -X, --show-search show search data -S, --show-source show source image filename and size -T, --show-tracks show tracks -f, --show-format show VCD format (VCD 1.1, VCD 2.0, SVCD, ...) -q, --quiet show only critical messages -V, --version display version and copyright information and exit Help options: -?, --help Show this help message --usage Display brief usage message AUTHOR
Written by Herbert Valerio Riedel and Rocky Bernstein. http://www.gnu.org/software/vcdimager/ COPYRIGHT
Copyright (C) 2000-2003 Herbert Valerio Riedel <hvr@gnu.org> 2003 Rocky Bernstein <rocky@panix.com> This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. SEE ALSO
The full documentation for vcd-info is maintained as a Texinfo manual. If the info and vcd-info programs are properly installed at your site, the command info vcd-info should give you access to the complete manual. vcd-info 0.7.24 March 2011 VCD-INFO(1)
All times are GMT -4. The time now is 07:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy