Sponsored Content
Full Discussion: register parameter type
Top Forums UNIX for Advanced & Expert Users register parameter type Post 302603283 by Corona688 on Wednesday 29th of February 2012 12:28:54 PM
Old 02-29-2012
Usually it doesn't, it just fills in filenames or command names.

You can find it in man bash under 'Programmable Completion', but looks very complex.

A more hands-on tutorial is here.
This User Gave Thanks to Corona688 For This Post:
 

9 More Discussions You Might Find Interesting

1. Programming

how to catch a parameter that is of the wrong type

Hi there, Here is the prototype for the myConcat function which takes a variable number of arguments. I am to create a file that contains a definition of the myConcat function. char* myConcat(int n, ... ) When the function is called, the first argument should be an integer > 0. ... (1 Reply)
Discussion started by: Magdalena
1 Replies

2. Shell Programming and Scripting

how do I make dynamic parameter names? Or get the value of a parameter evaluated twi

Say I write something like the following: var1=1 var2=2 for int in 1 2 do echo "\$var$int" done I want the output to be: 1 2 Instead I get something like: $var1 $var2 (2 Replies)
Discussion started by: Awanka
2 Replies

3. Shell Programming and Scripting

String type to date type

Can one string type variable changed into the date type variable. (1 Reply)
Discussion started by: rinku
1 Replies

4. Programming

array type has incomplete element type

Dear colleagues, One of my friend have a problem with c code. While compiling a c program it displays a message like "array type has incomplete element type". Any body can provide a solution for it. Jaganadh.G (1 Reply)
Discussion started by: jaganadh
1 Replies

5. Shell Programming and Scripting

Command that takes one parameter and then searches for the passed in parameter

Hi I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/ Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
3 Replies

6. Shell Programming and Scripting

Passing parameter to script, and split the parameter

i am passing input parameter 'one_two' to the script , the script output should display the result as below one_1two one_2two one_3two if then echo " Usage : <$0> <DATABASE> " exit 0 else for DB in 1 2 3 do DBname=`$DATABASE | awk -F "_" '{print $1_${DB}_$2}` done fi (5 Replies)
Discussion started by: only4satish
5 Replies

7. Shell Programming and Scripting

How to get the parameter value from the parameter file in perl?

hi all, i have a parameter file of following format, i want a method which can get the value of specific parameter. parameter file format: <Parameter Name="FileLocationWindows"> <Description> The directory location of the logger file. ... (1 Reply)
Discussion started by: laxmikant.hcl
1 Replies

8. Shell Programming and Scripting

Resolving a parameter which is passed as parameter

Hi, I have the following files. ->cat scr.sh export TMP_DIR=/home/user/folder1 export TMP_DIR_2=/home/user/folder2 while read line do cat "$line" done<file_list.dat ------------------------ -> cat file_list.dat $TMP_DIR/file1.txt $TMP_DIR_2/file2.txt --------------------------- -> cat... (6 Replies)
Discussion started by: barath
6 Replies

9. Shell Programming and Scripting

Call Script with Parameter (that has another parameter)

Hi. How do I achieve this sh /EDWH-DMT02/script/MISC/exec_sql.sh "@/EDWH-DMT02/script/others/CSM_CKC/Complete_List.sql ${file_name}" Complete_List.txt The /EDWH-DMT02/script/MISC/exec_sql.sh has two parameters and it's working fine with this sh /EDWH-DMT02/script/MISC/exec_sql.sh... (7 Replies)
Discussion started by: aimy
7 Replies
_UNW_getGR(3X)															    _UNW_getGR(3X)

NAME
_UNW_getGR(), _UNW_getAR(), _UNW_getAlertCode(), _UNW_getBR(), _UNW_getCFM(), _UNW_getFR(), _UNW_getGR_NaT(), _UNW_getIP(), _UNW_getKernel- SavedContext(), _UNW_getPR(), _UNW_getPreds(), _UNW_clearAlertCode() - query values in unwind library data structure SYNOPSIS
DESCRIPTION
returns the value of a numbered general register num in the object pointed to by parameter p. returns the value and NaT bit of a numbered general register num in the object pointed to by parameter p. The values are returned via a structure of type The structure's value field contains the register value and the structure's NaT field contains the register NaT bit. returns the value of a numbered floating point register num in the object pointed to by parameter p. The values are returned via a struc- ture of type The structure's first_container and second_container fields contain the two consecutive double words of the Floating point register Spill/Fill memory format. See returns the value of a numbered branch register num in the object pointed to by parameter p. returns the value of an enumerated application register num in the object pointed to by parameter p. The enumeration type is used for accessing application registers. returns the value of a numbered predicate register num in the object pointed to by parameter p. returns the value of all predicate registers in the object pointed to by parameter p. The returned value contains the value of each predi- cate register in the bit corresponding to the predicate register number -- for instance, bit 63 contains the value for predicate register 63. returns the contents of the instruction pointer in the object pointed to by parameter p. returns the contents of the current frame marker in the object pointed to by parameter p. returns the most recently encountered "client needs to know" return code. If no "client needs to know" conditions have been encountered, returns "Client needs to know" return codes are all of the enumerators in the enumeration with the exception of clears any "client needs to know" return code in the object pointed to by parameter p. provides the means for a tool such as a kernel debugger to obtain some of the information it needs about a kernel interruption. The values are returned via a structure of type structure from which the client can obtain the two fields, and of the format P10 unwind descriptor. For more detail, refer to unwind(5) and to RETURN VALUE
Except for the register value query functions (which are functions with prefix return the requested values on successful completion or a value equivalent to 0 otherwise. returns values from the enumeration See on unwind(5). returns on successful completion. Otherwise returns when is not in one of the following states: Init, User_Interrupted_Frame, User_Send- sig_Frame, Kernel_Bottom_Frame, Frame. EXAMPLES
Tead the value of General Register 5 in this procedure frame's context; check for range errors, query errors, etc.; then finally clear the alert code: WARNINGS
See the table in unwind(5), section subsection which lists when the values returned by the query functions are guaranteed to reflect the actual register values of the given procedure's processor state. Scratch register values, for example, are valid only after crossing a stack frame associated with an interruption. See "Chapter 5: Register Usage". AUTHOR
and were developed by HP. SEE ALSO
U_STACK_TRACE(3X), _UNW_createContextForSelf(3X), _UNW_currentContext(3X), unwind(5). Integrity Systems Only _UNW_getGR(3X)
All times are GMT -4. The time now is 12:01 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy