09-27-2010
thank you mate . much appreciated. good luck
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
I am new to scripting
I have written a code to compare strings,but I am getting some Exception
Code snippet:
MODE="D"
if ]; then
. $file1
fi
Error:
./BatchJobs.sh: [[: execute permission denied
I have given all Execute permissions to the script(chmod 755... (2 Replies)
Discussion started by: Anji
2 Replies
2. Shell Programming and Scripting
Hi All,
I have a long log file (abc.log) which contains large volume of data that need to be inserted into the database as clob.
I am having problem in inserting the long log file into the clob field if the cahracters in the file exceeds. So iwould like to truncate the file upto 32767... (3 Replies)
Discussion started by: rajeshorpu
3 Replies
3. Shell Programming and Scripting
Hi,
if I have a string delimited by commas how can I put each character on a new line followed by a carriage return, and output this to a filee.g
from:
s,t,r,i,n,g
to
s
t
r
i
n
g
thanks you (3 Replies)
Discussion started by: Wahmed9
3 Replies
4. Shell Programming and Scripting
Ok. I for the life of me cant figure out how to do this. I need Help. So here is what I'm trying to do. I have a block of text. They are FIPS codes for counties. Below is the block. There are probably a few ways to do this. The first line starting with ARC021....... this line is a list of... (2 Replies)
Discussion started by: chagan02
2 Replies
5. UNIX for Dummies Questions & Answers
Right now, my code is:
s/Secondary Ins./Secondary Ins.\
1/g
It's adding a 1 as soon as it finds Secondary Ins.
Primary Ins.: MEDICARE B DMERC Secondary Ins.
1: CONTINENTAL LIFE INS
What I really want to achieve is having a 1 added on the next line that contain "Secondary Ins." It... (4 Replies)
Discussion started by: newbeee
4 Replies
6. Shell Programming and Scripting
Hi All,
sessionid_remote=$(echo "select odb_sessionid from sysopendb where odb_dbname='syscdr';" | sudo -u cucluster ssh ucbu-aricent-vm93 "source /opt/cisco/connection/lib/connection.profile; $INFORMIXDIR/bin/dbaccess sysmaster@ciscounity")
for sid in $sessionid_remote;do
if * ]];... (2 Replies)
Discussion started by: deeptis
2 Replies
7. Shell Programming and Scripting
Hello friends, I need a BIG help from UNIX collective intelligence:
I have a CSV file like this:
VALUE,TIMESTAMP,TEXT
1,Sun May 05 16:13:05 +0000 2013,"RT @gracecheree: Praying God sends me a really great man one day. Gotta trust in his timing.
0,Sun May 05 16:13:05 +0000 2013,@sendi__... (19 Replies)
Discussion started by: kraterions
19 Replies
8. UNIX for Beginners Questions & Answers
Hi Guys,
I need to search and replace a string in AIX using variables and should be case insensitive.
I am able to search and replace using below command but its not working as case insensitive.
cat abc.txt | sed -e 's/$a/$b/g' > abc.txt
But i need to perform this with case... (9 Replies)
Discussion started by: mohit_vardhani
9 Replies
9. Shell Programming and Scripting
How can I extract digits at the end of a string in UNIX shell scripting or perl?
cat file.txt
abc_d123_4567.txt
A246_B789.txt
B123cc099.txt
a123_B234-012.txt
a13.txt
What can I do here? Many thanks.
cat file.txt | sed "s/.txt$//" | ........
4567
789
099
012
13 (11 Replies)
Discussion started by: mingch
11 Replies
10. UNIX for Beginners Questions & Answers
This is the sample json I have pasted here. I want all the IP address strings to be converted into an array. For example "10.38.32.202" has to be converted to everywhere in the JSON. There are multiple IPs in a JSON I am pasting one sample object from the JSON. But the IPs already in an Array... (11 Replies)
Discussion started by: vinshas1
11 Replies
LEARN ABOUT DEBIAN
espdiff
ESPDIFF(6) Man pages ESPDIFF(6)
NAME
espdiff - apply the appropriate transformation to a set of patches
SYNOPSIS
espdiff [--deep-brainwave-mode] [--recurse] [--compare] [file...]
espdiff {[--help] | [--version]}
DESCRIPTION
espdiff applies the appropriate transformation to a patch or set of patches, depending on what you intend to accomplish.
The input patches must be "clean": in other words they must apply without fuzz or offsets in whichever order they are meant to be applied.
The exception is if you intend espdiff to clean them for you (good luck).
You may find it useful to cross your fingers while the program performs its task, or to screw your eyes tight shut while imagining it doing
the right thing.
OPTIONS
--deep-brainwave-mode
Probes your brain deeply in a manner that takes longer, but produces better extra sensory results.
--recurse
Recurses neural pathways throughout all parts of the brain, in some cases determining code changes you might make far off in the
future. You may feel a gentle tickling sensation when using this option.
--compare
Allows the program to scan the current directory examining existing patches to determine areas of code you are likely to change again,
and concentrating on these areas more closely.
--help
Display a short usage message.
--version
Display the version number of espdiff.
LIMITATIONS
Do not use this program while sleep-walking, or before your first cup of coffee.
There are some cases in which it is not possible to determine what the intention of the user is. In these cases, you should construct the
output you desire using an editor, and send the input files together with the desired output file to Tim Waugh twaugh@redhat.com asking for
a new diff tool.
AUTHORS
Tim Waugh <twaugh@redhat.com>
Package maintainer
Mike Harris <mharris@redhat.com>
Conceptual designer
patchutils 5 March 2003 ESPDIFF(6)