02-28-2017
Thanks a lot! If I understand correctly, if there will be a new parameter, script will not output it, right?
9 More Discussions You Might Find Interesting
1. Solaris
I support a product which writes to log files and it's currently formatting the date in US format. I've established this is due to these settings:
account1# locale -k d_fmt t_fmt
d_fmt="%m/%d/%y"
t_fmt="%H:%M:%S"
If I log on with a different account the settings are different:
... (1 Reply)
Discussion started by: m223464
1 Replies
2. UNIX for Dummies Questions & Answers
As a regular (non-root) user on Unix servers I'm accustomed to changing my .profile file to set paths that I frequently use, etc.
I am trying to learn unix and set up a test server running SunOS 5.8. When I login as root I don't see a .profile file that belongs to root wherein I could change the... (1 Reply)
Discussion started by: FredSmith
1 Replies
3. HP-UX
Hi Folks,
I want the command to change the duplex settings of a HP-UX server.
Thanks in advance.
Sagar. (2 Replies)
Discussion started by: sag71155
2 Replies
4. Solaris
Hello All,
In the output of the command "mpdcontrol -no xlist", I found that, some of the preferred paths are marked as "err". You can see the output below:
# mpdcontrol -noxlist
Unit Dev# MPD_ID/Policy DeviceName FC_AL DevMajMin IOcnt State... (0 Replies)
Discussion started by: sundar3350
0 Replies
5. Solaris
Hi,
I use to work on solaris via putty
and always on session start
- i use to increase the font to 14 bold
- capture session output to a file
my requirement) to make these changes permanent, so that i need not to change the settings everytime i connect via putty
please advice.
... (0 Replies)
Discussion started by: saurabh84g
0 Replies
6. AIX
Hi
Can any one tell the procedure to change the maxpout and minpout settings on AIX (1 Reply)
Discussion started by: newtoaixos
1 Replies
7. Red Hat
Hi,
I have 48 cores in my server. I want to assign 50% of the cores to certain programs and rest to some other programms. I found the command "taskset" very good option to assign cpu afinity to already running programms or newly created programms.
But the problem is even if i set a cron to... (1 Reply)
Discussion started by: Rantu
1 Replies
8. UNIX for Dummies Questions & Answers
how and where can i change permanent the settings of nslookup?
each time i change it by doing
nslookup
set timeout=2
the nslookup , does not save the settings , how can i do it in permanent way? (2 Replies)
Discussion started by: prpkrk
2 Replies
9. Shell Programming and Scripting
How to remove first pair of parentheses and content in them from the beginning of the line?
Here's the list:
(ok)-test
(ok)-test-(ing)
(some)-test-(ing)-test
test-(ing)
Desired result:
test
test-(ing)
test-(ing)-test
test-(ing)
Here's what I already tried with GNU sed:
sed -e... (6 Replies)
Discussion started by: useretail
6 Replies
NCAP2(1) General Commands Manual NCAP2(1)
NAME
ncap2 - netCDF Arithmetic Processor, Next Generation
SYNTAX
ncap2 [-3] [-4] [-6] [-A] [-C] [-c] [-D dbg] [-d dim,[ min][,[ max]]] [-F] [-f] [-h] [-l path] [-O] [-o output-file] [-p path] [-R] [-r]
[-S script-file][-s script][-t thr_nbr][-v var[,...]] input-file [ output-file ]
DESCRIPTION
ncap2 supercedes and is backwards-compatible with ncap which is now deprecated. Both operators arithmetically process netCDF files. The
primary ncap2 documentation is currently the sample script <http://nco.sf.net/ncap2.in> The remainder of this manpage is identical to the
ncap manpage.
The processing instructions are contained either in the NCO script file fl.nco or in a sequence of command line arguments. The options -s
(or long options --spt or --script) are used for in-line scripts and -S (or long options --fl_spt or --script-file) are used to provide the
filename where (usually multiple) scripting commands are pre-stored. ncap2 was written to perform arbitrary albebraic transformations of
data and archive the results as easily as possible. Missing values are treated correctly. The results of the algebraic manipulations are
called derived fields.
Unlike the other operators, ncap2 does not accept a list of variables to be operated on as an argument to -v. Rather, the -v switch takes
no arguments and indicates that ncap2 should output only user-defined variables. ncap2 does not accept or understand the -x switch.
EXAMPLES
Compute the square of variable T
ncap2 -s "T2=T*T" in.nc out.nc
AUTHOR
NCO manual pages written by Charlie Zender and Brian Mays.
REPORTING BUGS
Report bugs to <http://sf.net/bugs/?group_id=3331>.
COPYRIGHT
Copyright (C) 1995-2010 Charlie Zender
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 NCO is maintained as a Texinfo manual called the NCO User's Guide. Because NCO is mathematical in nature, the
documentation includes TeX-intensive portions not viewable on character-based displays. Hence the only complete and authoritative versions
of the NCO User's Guide are the PDF (recommended), DVI, and Postscript versions at <http://nco.sf.net/nco.pdf>,
<http://nco.sf.net/nco.dvi>, and <http://nco.sf.net/nco.ps>, respectively. HTML and XML versions are available at
<http://nco.sf.net/nco.html> and <http://nco.sf.net/nco.xml>, respectively.
If the info and NCO programs are properly installed at your site, the command
info nco
should give you access to the complete manual, except for the TeX-intensive portions.
HOMEPAGE
The NCO homepage at <http://nco.sf.net> contains more information.
NCAP2(1)