03-10-2009
How I should check if xxd exists on the machine(s)? cmd?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am having a problem here. We are having several problems in regards to hung process's on unix (HPUX box), caused by my RF equipment (Mobile data capture units). these contact the host via a simply telnet session and locks the system?
Is it a timeout problem as the timeout is disabled on the host. (5 Replies)
Discussion started by: Subrosa
5 Replies
2. UNIX for Dummies Questions & Answers
When I use vi, I can type "set nu" in command mode to get line numbers.
How can I get VI to start like that automatically? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
3. Shell Programming and Scripting
Unix Gurus,
I have been breaking my head to get this done..seems simple..
I need to read a flat file and based on a key word in a line, i need to skip the previous 3 lines.
eg :
Line1
Line2
Line3
Line4
Line5
Line6
Error
Line7
Line8
Line9
Error
Line10 (4 Replies)
Discussion started by: ravred
4 Replies
4. Shell Programming and Scripting
Suppose I have two files 1.txt and 2.txt.
My aim is to find (Total execution time/Number of executions)
then sort the result as in decreasing order.
Can anyone provide me any shell/perl/awk script or a Command to do that in faster way ?
1.txt :
===============================
Number of... (4 Replies)
Discussion started by: Rahulpict
4 Replies
5. Shell Programming and Scripting
Hello Unix gurus,
My log file has entries in below format :
=================================================================
2009-01-19-01.19.24.816169+660 I8635A1158 LEVEL: Error
PID : 5873782 TID : 1 PROC : aaaa
APPHDL : 0-269
AUTHID : PDBCMPC... (12 Replies)
Discussion started by: Rahulpict
12 Replies
6. Shell Programming and Scripting
Hi,
I have a file monitor.txt as below...
# Times are converted to local time from GMT.
# Local Timezone: EST (GMT -05:00)
PARAM1
{
TIME 30;
CC1 "xxxxx";
CC2 "xxxxx";
CC3 "xxxxx";
CC4 "xxxxx";
}
PARAM2
{
4061 :... (3 Replies)
Discussion started by: zaq1xsw2
3 Replies
7. Shell Programming and Scripting
Hi Folks.
I need change something into file and after all manipulation I need delete only last COMMA into this piece of code ->
GROUP 1 (
'/oralog1/ORAPRD/log01a.dbf',
'/oralog2/ORAPRD/log01b.dbf'
) SIZE 512M,
GROUP 2 (
'/oralog1/ORAPRD/log02a.dbf',
... (12 Replies)
Discussion started by: beckss
12 Replies
8. Shell Programming and Scripting
Hi.,
I need to ask question for expect script.
I have prompt like #
and very long script (orachk).
I added to expect script line
set prompt "(%|#|\\\$) $"
and insert into it also piece of code
----
expect {
timeout {
puts "Running..."
exp_continue
}
... (0 Replies)
Discussion started by: beckss
0 Replies
9. UNIX for Beginners Questions & Answers
in Vi how do I delete part of a line ( leave few words in a line and delete rest of the line ) (6 Replies)
Discussion started by: pitagi
6 Replies
LEARN ABOUT OSX
svk::editor::merge
SVK::Editor::Merge(3) User Contributed Perl Documentation SVK::Editor::Merge(3)
NAME
SVK::Editor::Merge - An editor that does merges for the storage editor
SYNOPSIS
$editor = SVK::Editor::Merge->new
( anchor => $anchor,
base_anchor => $base_anchor,
base_root => $fs->revision_root ($arg{fromrev}),
target => $target,
storage => $storage_editor,
%cb,
);
DESCRIPTION
Given the base root and callbacks for local tree, SVK::Editor::Merge forwards the incoming editor calls to the storage editor for modifying
the local tree, and merges the tree delta and text delta transparently.
PARAMETERS
options for base and target tree
anchor
The anchor of the target tree.
target
The target path component of the target tree.
base_anchor
The anchor of the base tree.
base_root
The root object of the base tree.
storage
The editor that will receive the merged callbacks.
allow_conflicts
Close the editor instead of abort when there are conflicts.
open_nonexist
open the directory even if cb_exist failed. This is for use in conjunction with SVK::Editor::Rename for the case that a descendent
exists but its parent does not.
inspector
The inspector reflecting the target of the merge.
callbacks for local tree
Since the merger needs to have information about the local tree, some callbacks must be supplied.
cb_rev
Check the revision of the given path.
cb_conflict
When a conflict is detected called with path and conflict type as argument. At this point type can be either 'node' or 'prop'.
cb_prop_merged
Called when properties are merged without changes, that is, the "g" status.
cb_merged
Called right before closing the target with changes flag, node type and ticket.
cb_closed
Called after each file close call.
BUGS
Tree merge
still very primitive, have to handle lots of cases
perl v5.10.0 2008-08-04 SVK::Editor::Merge(3)