08-27-2017
Hi.
A Google search for
man xed turned up many hits, among them:
Linux Manpages Online - man.cx manual pages)
which produces:
Quote:
NAME
xed − text editor for X
SYNOPSIS
xed [-s] [-p string] [-nb] [-P] [-ttymode] [-fn font]
[-x N] [-nsb] [-help] [-version] [file]
DESCRIPTION
Xed is the standard text editor, conveniently re-written for use in the standard windowing system.
Xed is a completely backward-compatible implementation of the ed line-oriented text editor. See the ed(1) manual page for a description of the basic ed syntax and command set; what follows is a description of the features unique to xed.
OPTIONS
-s
Suppresses diagnostics.
−p string
Specifies a command prompt. This may be toggled on and off with the ’P’ command.
-nb
Turns off automatic file backup. By default, xed will back up a file to filename before writing to that file.
...
Google and
man are your friends ... cheers, drl
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I have been using the hostdump.sh backup script for over a year now and have recently run into a problem. I'm now getting the following error at the end of my jobs;
/bin/mt -f: error fsf'ing tape.
This script uses the native 'ufsdump'. So, I try to go back and read the last dump on the tape... (11 Replies)
Discussion started by: Solaris
11 Replies
2. UNIX for Dummies Questions & Answers
When using hostdump.sh to backup a system I can do it fine. But how can I restore what I backuped up?
:)
Thx in advance (2 Replies)
Discussion started by: merlin
2 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone my ? is about backups. I'am running SCO OS 505 and currently backing up the hole HD. Well the back up is taking too long and this is becoming a problem for the users since we are a 24-7 bussines, I whant stop backing up every thing on the HD. What are the most important files and... (1 Reply)
Discussion started by: kikkin
1 Replies
4. UNIX Desktop Questions & Answers
I've been handed the task of backing up some of our system files on a Solaris box. No probs. Zipped the logs that needed backing up but my superiors do not want it on tape, they want it spanned on CD's. The CD-Writer is available on a MS box. FTP'd the zipped logs across too the MS Machine but now... (1 Reply)
Discussion started by: mccrack_2003
1 Replies
5. 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
6. Shell Programming and Scripting
Hi All,
I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by
set EDITOR=vi it does not open a vi editor , rather it do as below.....
/////////////////////////////////////////////////////
$ set... (6 Replies)
Discussion started by: aarora_98
6 Replies
7. Solaris
Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies
8. Shell Programming and Scripting
Hello all,
I'm using nas4free as a SAN and am having troubles getting a backup of it's data to work properly. I've posted in the nas4free forums, but haven't received much help.
Here is the code I'm using:
#!/bin/sh
{... (1 Reply)
Discussion started by: dpatino
1 Replies
9. UNIX for Advanced & Expert Users
Hi Experts,
Need your support
Redhat 6.5
I want to create a user with all(read, write, execute) privileges except that user should not be able to create any new user from his login
to perform any task. (10 Replies)
Discussion started by: as7951
10 Replies
LEARN ABOUT DEBIAN
file::inplace
File::Inplace(3pm) User Contributed Perl Documentation File::Inplace(3pm)
NAME
File::Inplace - Perl module for in-place editing of files
SYNOPSIS
use File::Inplace;
my $editor = new File::Inplace(file => "file.txt");
while (my ($line) = $editor->next_line) {
$editor->replace_line(reverse $line);
}
$editor->commit;
DESCRIPTION
File::Inplace is a perl module intended to ease the common task of editing a file in-place. Inspired by variations of perl's -i option,
this module is intended for somewhat more structured and reusable editing than command line perl typically allows. File::Inplace endeavors
to guarantee file integrity; that is, either all of the changes made will be saved to the file, or none will. It also offers functionality
such as backup creation, automatic field splitting per-line, automatic chomping/unchomping, and aborting edits partially through without
affecting the original file.
CONSTRUCTOR
File::Inplace offers one constructor that accepts a number of parameters, one of which is required.
File::Inplace->new(file => "filename", ...)
file
The one required parameter. This is the name of the file to edit.
suffix
The suffix for backup files. If not specified, no backups are made.
chomp
If set to zero, then automatic chomping will not be performed. Newlines (actually, the contents of $/) will remain in strings
returned from "next_line". Additionally, the contents of $/ will not be appended when replacing lines.
regex
If specified, then each line will be split by this parameter when using "next_line_split" method. If unspecified, then this
defaults to s+.
separator
The default character used to join each line when replace_line is invoked with a list instead of a single value. Defaults to a
single space.
INSTANCE METHODS
$editor->next_line ()
In scalar context, it returns the next line of the input file, or undef if there is no line. In an array context, it returns a single
value of the line, or an empty list if there is no line.
$editor->replace_line (value)
Replaces the current line in the output file with the specified value. If passed a list, then each valie is joined by the "separator"
specified at construction time.
$editor->next_line_split ()
Line "next_line", except splits based on the "regex" specified in the constructor.
$editor->has_lines ()
Returns true if the file contains any further lines.
$editor->all_lines ()
Returns an array of all lines in the file being edited.
$editor->replace_all_lines (@lines)
Replaces all remaining lines in the file with the specified @lines.
$editor->commit ()
Completes the edit operation and saves the changes to the edited file.
$editor->rollback ()
Aborts the edit process.
$editor->commit_to_backup ()
Saves edits to the backup file instead of the original file.
AUTHOR
Chip Turner, <chipt@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2005 by Chip Turner
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6.0 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2012-03-06 File::Inplace(3pm)