04-11-2011
AlphaLexman is correct - This won't work with numbers.
If "ROWSTOLOAD" is null, then the output in this case will be "{ROWSTOLOAD:--100}" instead of -100
This User Gave Thanks to aster007 For This Post:
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
anyone know? would be greatly thankful. (4 Replies)
Discussion started by: shellnewbie
4 Replies
2. Solaris
What fonts are installed on a Solaris 8? I have no GUI so a command line command would be great. Thank you (2 Replies)
Discussion started by: Acleoma
2 Replies
3. Programming
what is the command to print the text in a specifed location
eg
i have text ("i am here");
i have to print it on location 20,20
wat is the command and which header file it uses
i am currentlr working in solaris 5.8 using unix (1 Reply)
Discussion started by: ramneek
1 Replies
4. Shell Programming and Scripting
I am sorry guys I have figured out the error myself. (0 Replies)
Discussion started by: dsravan
0 Replies
5. UNIX for Advanced & Expert Users
Hi all,
Want to know what does export command do??
What is its functionality?
And on a shell prompt
$at=1
$ echo $at
1
The variable above is it available to other script??? (3 Replies)
Discussion started by: prakash.kudreka
3 Replies
6. UNIX for Advanced & Expert Users
What is the command for search the program name from the entire directory (all directories in the unix box, means including sub directories...) (2 Replies)
Discussion started by: gksenthilkumar
2 Replies
7. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
8. UNIX for Dummies Questions & Answers
Hi
The command "ssh -V" works as normal user but fails as root.
As Normal user:
bash-3.00$ ssh -V
OpenSSH_5.9p1, OpenSSL 1.0.0e 6 Sep 2011As Root user:
# ssh -V
bash: ssh: command not found
Thanks (1 Reply)
Discussion started by: frintocf
1 Replies
9. Shell Programming and Scripting
I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found"
My code is as follows:
--------------------------
#!/bin/sh
user="test"
DIR="/bldtmp/"$user
VIEW="test.view1"
echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
10. Shell Programming and Scripting
My OS is Linux GL version 2.4.26. I am trying to make a shell script that outputs a chart displaying info of who is online, boot time, and the real time, I have manage to get it to work, but I still get the error "./user/script: line 1: : command not found." I do in fact have access to root, if... (2 Replies)
Discussion started by: thatguy565
2 Replies
LEARN ABOUT DEBIAN
xpacode
xpacode(7) SAORD Documentation xpacode(7)
NAME
XPACode - Where to Find Example/Test Code
SYNOPSIS
The XPA source code directory contains two test programs, stest.c, and ctest.c that can serve as examples for writing XPA servers and
clients, respectively. They also can be used to test various features of XPA.
DESCRIPTION
To build the XPA test programs, execute:
make All
in the XPA source directory to generate the stest and ctest programs. (NB: this should work on all platforms, although we have had prob-
lems with unresolved externals on one Sun/Solaris machine, for reasons still unknown.)
The stest program can be executed with no arguments to start an XPA server that contains the access points: xpa, xpa1, c_xpa (containing
sub-commands cmd1 and cmd2), and i_xpa. You then can use xpaset and xpaget to interact with these access points:
cat xpa.c | xpaset xpa # send to xpa
cat xpa.c | xpaset "xpa*" # send to xpa and xpa1
xpaget xpa # receive from xpa
xpaget xpa* # receive from xpa and xpa1
etc. You also can use ctest to do the same thing, or to iterate:
ctest -s -l 100 xpa # send to xpa 100 times
ctest -s -l 100 "xpa*" # send to xpa and xpa1 100 times
ctest -g -l 100 xpa # receive from xpa 100 times
ctest -g -l 100 "xpa*" # receive from xpa and xpa1 100 times
More options are available: see the stest.c and ctest.c code itself, which were used extensively to debug XPA.
The file test.tcl in the XPA source directory gives examples for using the XPATclInterface.
SEE ALSO
See xpa(7) for a list of XPA help pages
version 2.1.14 June 7, 2012 xpacode(7)