Sponsored Content
Full Discussion: $? and $# means
Top Forums Shell Programming and Scripting $? and $# means Post 302440859 by mail2sant on Wednesday 28th of July 2010 04:05:56 PM
Old 07-28-2010
$? and $# means

what exactly $? and $# means ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

what it means?

I have a command called cd $HDRROOT/release/tools/cfg My query is what it means? tHat is.... $HDRROOT part is not clear. If I put this command it says path not found.... I doubt that $HDRROOT is trying to mean smething I am not clear of. PL help......... (4 Replies)
Discussion started by: rraajjiibb
4 Replies

2. UNIX for Dummies Questions & Answers

Can anyone tell me what this means..???

I found a file in my base folder width the name replace.sh and width the text string. sed -i "s/$1/$2/g" `grep -ir $1 ./*|grep -v '.svn'|cut -d: -f1` Wat does it mean and what does it do? (1 Reply)
Discussion started by: samarn
1 Replies

3. Shell Programming and Scripting

$$ means?

hey, what's $$varname in a script? I used to see $varname only. search on google didn't help. thanks. (4 Replies)
Discussion started by: patiobarbecue
4 Replies

4. UNIX for Dummies Questions & Answers

Can you tell me what this means?

Can you please tell me what this means? use grep to find from the file myfile.txt all lines containing the sequence tt but not more 2 ts? I have no idea. (2 Replies)
Discussion started by: rushhour
2 Replies

5. UNIX for Dummies Questions & Answers

What means %U

I can not find out what the %U means in the following command: ooffice -calc %U (2 Replies)
Discussion started by: borobudur
2 Replies

6. Shell Programming and Scripting

!! what is this means

I have a script like select * from table !! what those exclamation marks mean (4 Replies)
Discussion started by: vasuarjula
4 Replies

7. Shell Programming and Scripting

What does . means?

Hi, I have seen in some ksh script, that we are executing shell scripts inside other shell script as . variable.sh What is . here? Their is space between . and variabloe. And why we are not executing it like ./variable.sh? I know that . signifies current directory , but what its... (2 Replies)
Discussion started by: jatanig
2 Replies

8. Programming

What does it means?

#define abc '\xE8' (7 Replies)
Discussion started by: kamlesh33
7 Replies

9. UNIX for Beginners Questions & Answers

What is $(NF) means?

HI what does the $(NF) means. here i want to understand the working. what i know is that in awk NF argument will tell number of column in a file i have below file alpha a beta b if i use command cat kv | paste - - | awk '{print $1," "$2 "------>"$(NF)}' i get the o/p as alpha ... (3 Replies)
Discussion started by: scriptor
3 Replies
X_LIST(1gmt)						       Generic Mapping Tools						      X_LIST(1gmt)

NAME
x_list - Extract Cross-Over Information from the Data Base. SYNOPSIS
x_list [ leg1 ] [ leg2 ] [ -dataflags ] [ -Rwest/east/south/north ] [ -Xxbase ] [ -H ] [ -I ] [ -V ] [ -Ccorrfile ] [ -Zignorefile ] DESCRIPTION
x_list will allow the user to extract information from the xx_base.b and xx_legs.b files. Several options can be passed on the command line in order to specify which parameters to extract. They are: leg1 leg2 If two legs are specified, the cross-overs they have in common are returned. If one leg is specified, all the external cross-overs involving this leg are returned, OR only its internal cross-overs if -I is selected. If no legs are given, all the external (or internal with -I) cross-overs are returned. This program is useful if one wants to look at, say, gravity COEs versus time from port for a particular leg, etc. dataflags This is a string of any combination of the following: l means list both legnames. t means list time. x means list longitude. y means list latitude. g means list gravity COEs. m means list magnetics COEs. b means list bathymetry COEs. G means list average gravity at cross-over. M means list average magnetic anomaly at cross-over. B means list average bathymetry at cross-over. h means list heading of ship at cross-over. The components are written out in the order they appear in dataflags. The default output is -txygmbGMBhl. When internal COEs are desired, the time reported is the elapsed time since the ship first occupied the cross-over point. For external COEs the time means time from the start of the year in seconds. -R Only return cross-overs inside the specified region west, east, south, and north. [Default is world]. -X Indicate alternate xx_base.b file. -H Issue one header record on output. -I Report on internal COEs [Default is external COEs]. -C Apply cross-over correction to the data (i.e. reports the cross-over value after the best-fitting corrections have been applied to both legs). If no corrfile is given, the default correction file is assumed. -Z Ignore those legs that appear in the ignorefile. -V Selects verbose mode, which will send progress reports to stderr [Default runs "silently"]. SEE ALSO
GMT(1), x_system(1) REFERENCES
Wessel, P. XOVER: A Cross-over Error Detector for Track Data, Computers & Geosciences, 15, 333-346. GMT 4.5.7 15 Jul 2011 X_LIST(1gmt)
All times are GMT -4. The time now is 04:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy