04-22-2012
Do you mean it is open by two editors at the same time?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Definitely a unix dummy. I edited the paths in the /etc/profile file - following the instructions on an install package. Now can't use vi, cat pg ls or any other unix commands. Guess I'm in big trouble.
Path reads
MANPATH=/opt/hpnp/man
PATH=/opt/hpnpl/bin
LD_LIBRARY_PATH=/opt/hpnp/lib
... (4 Replies)
Discussion started by: thewetch
4 Replies
2. UNIX for Dummies Questions & Answers
Copy text from a file from VI editor to Windows clipboard,
I mean copy entire file in vi editor to notepad. (13 Replies)
Discussion started by: zhshqzyc
13 Replies
3. Shell Programming and Scripting
Hi all,
I have a shell script that i started editing, only in the midst of which i tried to save the changes i found that the file wasnt been provided with write/execute permissions.
I later have redone the changes and saved the file-
Just curious to know if there was any command wherein... (5 Replies)
Discussion started by: Pankajakshan
5 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question.
How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'?
As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies
5. UNIX for Advanced & Expert Users
helo
I install my product for koren language
I m uisng RHEL -4 operating system
now problem is whenever I open any file
vi filename
I got following error on the screen
E557: Cannot open termcap file
'vt100' not known. Available builtin terminals are:
builtin_ansi
... (1 Reply)
Discussion started by: amitpansuria
1 Replies
6. UNIX for Dummies Questions & Answers
i have following query
e.g i want the VI Editor cursor at line number N instead of 0 while opening the file from unix prompt.
vi filename ??????
Can anyone help? (4 Replies)
Discussion started by: skyineyes
4 Replies
7. UNIX for Advanced & Expert Users
I was editing my text file in gvim & I was getting message that its changed & to load again.
I work in a workplace environment with everyone having there username..
How can I know that who edited my file? (4 Replies)
Discussion started by: krishanu
4 Replies
8. UNIX for Dummies Questions & Answers
Dear all,
I had a columned based file after processed from my script. In unix platform, my file is ok, with all columns sorted out nicely. But when i open in windows notepad, the columns are running out of order. Can some one help??
Thanks alot in advance (4 Replies)
Discussion started by: ymeyaw
4 Replies
9. Shell Programming and Scripting
Hi,
I am facing a problem regarding .csv file, my script does not read .csv file and if i open this file in vi editor and perform :wq option then only my script reads the .csv file.
Thanks (5 Replies)
Discussion started by: ranabhavish
5 Replies
10. UNIX for Beginners Questions & Answers
Hi there! I'm developing a program that allows the user to open and edit files using both an editor and the terminal. Once the user has finished editing the file an update is sent to the logbook that compares the file before and after it was edited - this can only be done if the file is closed (I... (23 Replies)
Discussion started by: cherryTango
23 Replies
LEARN ABOUT SUSE
svn::simple::edit
SVN::Simple::Edit(3) User Contributed Perl Documentation SVN::Simple::Edit(3)
NAME
SVN::Simple::Edit - A simple interface for driving svn delta editors
SYNOPSIS
my $edit = SVN::Simple::Edit->new
(_editor => [SVN::Repos::get_commit_editor($repos, "file://$repospath",
'/', 'root', 'FOO', &committed)],
);
$edit->open_root($fs->youngest_rev);
$edit->add_directory ('trunk');
$edit->add_file ('trunk/filea');
$edit->modify_file ("trunk/fileb", "content", $checksum);
$edit->delete_entry ("trunk/filec");
$edit->close_edit ();
...
$edit->copy_directory ('branches/a, trunk, 0);
DESCRIPTION
SVN::Simple::Edit wraps the subversion delta editor with a perl friendly interface and then you could easily drive it for describing
changes to a tree. A common usage is to wrap the commit editor, so you could make commits to a subversion repository easily.
This also means you can not supply the $edit object as an delta_editor to other API, and that's why this module is named ::Edit instead of
::Editor.
See SVN::Simple::Editor for simple interface implementing a delta editor.
PARAMETERS
for constructor
_editor
The editor that will receive delta editor calls.
missing_handler
Called when parent directory are not opened yet, could be:
&SVN::Simple::Edit::build_missing
Always build parents if you don't open them explicitly.
&SVN::Simple::Edit::open_missing
Always open the parents if you don't create them explicitly.
SVN::Simple::Edit::check_missing ([$root])
Check if the path exists on $root. Open it if so, otherwise create it.
root
The default root to use by SVN::Simple::Edit::check_missing.
base_path
The base path the edit object is created to send delta editor calls.
noclose
Do not close files or directories. This might make non-sorted operations on directories/files work.
METHODS
Note: Don't expect all editors will work with operations not sorted in DFS order.
open_root ($base_rev)
add_directory ($path)
open_directory ($path)
copy_directory ($path, $from, $fromrev)
add_file ($path)
open_file ($path)
copy_file ($path, $from, $fromrev)
delete_entry ($path)
change_dir_prop ($path, $propname, $propvalue)
change_file_prop ($path, $propname, $propvalue)
close_edit ()
AUTHORS
Chia-liang Kao <clkao@clkao.org>
COPYRIGHT
Copyright 2003-2004 by Chia-liang Kao <clkao@clkao.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <http://www.perl.com/perl/misc/Artistic.html>
perl v5.12.1 2005-02-23 SVN::Simple::Edit(3)