06-14-2012
That was my first try.. But no luck.
I even tried \\" and \\\"... But no luck...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello to all,
Does anyone know the solution ?
Two strings A and B are present. I want to check whether B is a Substring of A.
1. The value of A is - 29 * * * /bin/ls "test" "tmp*" "log*"
(Note: Pl note that A contains DOUBLEQUOTES, ASTERISK & FRONTSLASH)
2. The value of B is -... (5 Replies)
Discussion started by: rssrik
5 Replies
2. Shell Programming and Scripting
Hi Experts,
I have a file with some of the records contain double quotes. If I found a double quote(") in any particular record , I need to look for the next double quote in that particular record and in between these quotes, if any comma(,) is there I need to replace with Tilde (~) in the same... (12 Replies)
Discussion started by: vsairam
12 Replies
3. Shell Programming and Scripting
I am writing a expect script. during the expect, i need check the out to see whether i logged in:
set password "1234"
spawn telnet host1
expect "login:"
send "guest\n"
expect "password:"
send $password
expect -re "#|$"
puts "Logged in"
But it seems that expect takes "$" as a wild... (3 Replies)
Discussion started by: sleepy_11
3 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. Shell Programming and Scripting
Hello All,
I am writing an Expect Script to execute some commands over ssh then exit the script.
The script works just fine if I automate everything and assuming the correct password was entered.
So this Expect Script gets executed from a Bash script... From the Bash script I pass along an... (0 Replies)
Discussion started by: mrm5102
0 Replies
6. Shell Programming and Scripting
Hi,
I have the following text in a file
<div class="snippet abstract">
We present a new "model" for multiple-input-multiple-output (MIMO) 'outdoor'
has many things "what" ever
</div></a href=sdfkkf">
</div>
<div class="snippet context">
I have to replace the string between the <div... (1 Reply)
Discussion started by: vms
1 Replies
7. UNIX for Advanced & Expert Users
Hi, everyone.
I need to write a program to get io info based on libperfstat.
But the "write time" of a disk is just half of the value get from iostat.
I'm confused and can't explain. Help please.
How I calculate "write service time per sec":
In iostat:
write service... (0 Replies)
Discussion started by: jackliang
0 Replies
8. Shell Programming and Scripting
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
9. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
10. Shell Programming and Scripting
I need to find two matches in the output from ps. I am searching with ps -ef |grep mysql for:
my.cnf
/bin/sh /usr/bin/mysqld_safe --defaults-file=/data/mysql/master/agis_core/etc/my.cnf
after this match I want to search back and match the hostname which is x number of lines back, above the... (2 Replies)
Discussion started by: bash_in_my_head
2 Replies
ESPDIFF(1) Man pages ESPDIFF(1)
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(1)