04-28-2009
It is working now.
Thank you guys.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
This one has me stumped, although I suspect it might be easy. I have a file and need to split the entries into two varaibles. The format for a positive is 'AANNNN' where A is alpha and N is numeric.
Thanks in advance (5 Replies)
Discussion started by: 98_1LE
5 Replies
2. Shell Programming and Scripting
Hi Experts,
I want to extract the value of SESSIONID AND USERID from the this string using perl.
XML Request },"USER_PREF":{"sys_lang":"en-us","timezone":"480","user_lang":"en-us"}}}</DEVICESIG></POLICYREQ>]
The answer should be SessionID=1:3133050 and USERID=01451651
Please advise how... (3 Replies)
Discussion started by: namishtiwari
3 Replies
3. UNIX for Advanced & Expert Users
I want to know how to, given a string like W87151WR71C, if the 4th and 5th character (in this case 15) are greater than 45, then to add 1 to the 3rd character (in this case 7) and assign the revised string the variable name MODSTRING.
Thanks in advance. This is ultimately to grab info from... (6 Replies)
Discussion started by: glev2005
6 Replies
4. Programming
Hi java programmers
I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error.
----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\HelloWorldApp.java
----jGRASP wedge2 error: command "javac" not found.
---- This command... (1 Reply)
Discussion started by: repinementer
1 Replies
5. Shell Programming and Scripting
Hi all,
I am trying to grep something from log file.
For example. i need to grep sting = "*834*1"
My LOG
2010-05-05 09:27:57,649|3|ABCD834|192.168.38.72|2365|444850623031|0|8|-|0|*834*1*1499413*00853662524#|470540.7219101273026475158
2010-05-05... (3 Replies)
Discussion started by: ooilinlove
3 Replies
6. Shell Programming and Scripting
#! /bin/bash
if ; then
echo "Set number "
else
k=$1
sqlplus ${scheme}/${apsswd}@${server} @query.sql $k
fi
file query.sql looks like this
select * from tab1 where number =${k};
===================================
it doesnt work
my question is how to assign k value in last... (2 Replies)
Discussion started by: kvok
2 Replies
7. Shell Programming and Scripting
Hi Experts,
I need to insert a sting into another string at a specified position. Like the below.
Regards,
Tin-Tin (3 Replies)
Discussion started by: tinufarid
3 Replies
8. Shell Programming and Scripting
Hi Gurus,
I need to search and replace string <! in a file with a blank.
Some how my command
sed -i 's/\<\!\
is not working ..
Kindly help (1 Reply)
Discussion started by: r_t_1601
1 Replies
9. Shell Programming and Scripting
Hi,
1. I want to remove the line which contains "SUBPARTITION", but the condition is
if line has ends with "),"
replace with ,
else
delete the line
I was trying with the sed command i... (3 Replies)
Discussion started by: gavemani
3 Replies
10. Shell Programming and Scripting
I'm trying to use awk in a script to search for a string number in a plist file.
basically its a plist that records the bandwidth usage, and if the number is greater than 3GB which is equals 3221225472 bytes, it will send me an alert by email.
here is the file:
=<?xml version="1.0"... (4 Replies)
Discussion started by: ivaldiz
4 Replies
LEARN ABOUT HPUX
rcsmerge
rcsmerge(1) General Commands Manual rcsmerge(1)
NAME
rcsmerge - merge RCS revisions
SYNOPSIS
rev2] file
DESCRIPTION
incorporates the changes between rev1 and rev2 of an RCS file into the corresponding working file. If is given, the result is printed on
the standard output; otherwise the result overwrites the working file.
A file name ending in is an RCS file name; otherwise it is a working file name. derives the working file name from the RCS file name and
vice versa, as explained in rcsintro(5). A pair consisting of both an RCS and a working file name can also be specified.
rev1 cannot be omitted. If rev2 is omitted, the latest revision on the trunk is assumed. Both rev1 and rev2 can be given numerically or
symbolically.
prints a warning if there are overlaps, and delimits the overlapping regions as explained for the option of co(1). The command is useful
for incorporating changes into a checked-out revision.
EXAMPLES
Suppose you have released revision 2.8 of Assume furthermore that you just completed revision 3.4 when you receive updates to release 2.8
from someone else. To combine the updates to 2.8 and your changes between 2.8 and 3.4, put the updates to 2.8 into file and execute:
Then examine Alternatively, if you want to save the updates to 2.8 in the RCS file, check them in as revision 2.8.1.1 and execute
As another example, the following command undoes the changes between revision 2.4 and 2.8 in your currently checked out revision in
Note the order of the arguments, and that is overwritten.
WARNINGS
does not work for files that contain lines with a single
AUTHOR
was developed by Walter F. Tichy.
SEE ALSO
ci(1), co(1), merge(1), ident(1), rcs(1), rcsdiff(1), rlog(1), rcsfile(4).
rcsmerge(1)