02-26-2004
can I use this coding
I apologise because I had pasted this question in the newbies forum first (because i am a bit of a newbie) but thought it might be better suited in here
if i have to sepearate parameters can I use this syntax especially the or part (||) and is this correct
if [ "${CURR_STATUS}" || "${CURR_STATUSTEST}" != "${NEW_STATUS}" ]
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to start coding on my mac, but I'm getting an error when I attempt to execute my script
-bash : testscript: command not found
I have verified that the #! line points to the correct directory.
If you have some insight it would be greatly appreciated!
- D (1 Reply)
Discussion started by: DKNUCKLES
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am new to pro*C. I have a select statement as
select a.ename,a.sal,a.empno from emp where &n=(select count(distinct(b.sal)) from emp b where a.sal<=b.sal
for this query I have to write a pro*C program. So can you please send me the complete code. Then I will foloow the same... (1 Reply)
Discussion started by: user71408
1 Replies
3. AIX
contact me on <email address deleted>
or <email address deleted> (1 Reply)
Discussion started by: suprithhr
1 Replies
4. Shell Programming and Scripting
HI,
Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ?
Format of data:
YYYYMMDD065959.dsk.log
YYYYMMDD235959.dsk.log
currently both are loaded together. Need to separate them as above format.
Thanks in advance.
... (1 Reply)
Discussion started by: crazydude80
1 Replies
5. Windows & DOS: Issues & Discussions
HI,
Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ?
Format of data:
YYYYMMDD065959.dsk.log
YYYYMMDD235959.dsk.log
currently both are loaded together. Need to separate them as above format.
Thanks in advance.
... (2 Replies)
Discussion started by: crazydude80
2 Replies
6. Shell Programming and Scripting
My company has an in house instant messaging system (like WhatsApp) where users can communicate with each other. I currently have code to email me certain items from my Sparc machine running SunOS 5.10. I want what I am emailing myself to now instant message me. The team that created the messenger... (5 Replies)
Discussion started by: shorty
5 Replies
LEARN ABOUT REDHAT
wxpaste
wxpaste(1x) wxpaste(1x)
NAME
wxpaste - output a cutbuffer to stdout
SYNOPSIS
wxpaste [options]
DESCRIPTION
wxpaste outputs the contents of the specified cutbuffer to stdout. If no cutbuffer is specified, the cutbuffer 0 will be used as default.
OPTIONS
-cutbuffer number
The data will be pasted from the specified cutbuffer, instead of the default 0.
-display display-name
Specifies the display where wxpaste should look for the data to be pasted.
-selection [selection-name]
The data will be copied from the named selection. If cutting from the selection fails, the cutbuffer will be used. The default value
for the selection name is PRIMARY.
BUGS
The -selection option must be the last one. The syntax could be
cleaned, but backwards compatibility prevents that...
INCR and MULTIPLE selection types are not handled. Actually, only simple text selections are handled, wich should be enough for most
uses of a utility such as this.
SEE ALSO
wxcopy(1x), wmaker(1x)
AUTHOR
This man page was written by Marcelo Magallon <mmagallo@debian.org>.
Window Maker was written by Alfredo K. Kojima <kojima@windowmaker.info>.
March 1998 wxpaste(1x)