07-16-2011
It's also worth remembering that someone else could have edited this value, then later commented it out
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
After a reboot my ifconfig -a has nothing but 0.0.0.0
have to reinput my IP and default route, what makes the info save? (1 Reply)
Discussion started by: jo calamine
1 Replies
2. Solaris
Hi All,
Am Trying to configure a Network Printer (HP Laser Jet 4250n) Printer Name hari for a Solaris 5.9 server.
Output of lpstat:
root: lpstat -t
scheduler is running
no system default destination
device for hari: /dev/null
hari accepting requests since Mon Jul 28 10:38:51 2008... (0 Replies)
Discussion started by: efunds
0 Replies
3. UNIX for Advanced & Expert Users
I hope I'm posting in the right forum.
In the samba config file smb.conf in the global settings area... we currently have a domain in the workgroup section as
workgroup = domain_name
I want to add another domain name to allow attaching to samba. What is the syntax to add another domain... (1 Reply)
Discussion started by: AWSeeker
1 Replies
4. UNIX for Dummies Questions & Answers
Hi there,
I was wondering if it is possible to include a RAID configuration in my Solaris 10 Jumpstart files, so that I don't have to manually set up RAID on all my machines.
Thanks
P.S. I started messing around with Solaris only a week back, so if I sound like a complete idiot, you know... (1 Reply)
Discussion started by: iman453
1 Replies
5. Shell Programming and Scripting
Hi,
I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below.
I will be using the config file as mentioned below:
(config.txt)
country:a,b
city:1,2
type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies
6. Solaris
Hi,
i'm new to Solaris ,i have this task which need to be completedand i couldn't find a way .The peoblem is i have a Server-A and Server-B
i need to automount a folder in Server-b to Server-A for permanently .i've found only auto_master and auto_home(in /etc no auto.misc like linux) and what are... (8 Replies)
Discussion started by: malickhat
8 Replies
7. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I am going to reitre one solaris 10 server soon.
What are the important config files to backup in case if i want to check how this system was setup (need list in general) ?
Thanks! in advance (1 Reply)
Discussion started by: lramsb4u
1 Replies
9. Shell Programming and Scripting
hi
I need to update the value in config.txt value using shell script
example:
lets say a value in config.txt file is as SEQUENCE=1
after some iteration as the loop ends , the SEQUENCE should get update in the config.txt file with a new value of SEQUENCE=2.
also , can anyone please help me... (7 Replies)
Discussion started by: ravidwivedi2288
7 Replies
10. Windows & DOS: Issues & Discussions
Hi Team,
My new build configuration always looking for the files from the build where i copied from.
please help me to resolve this.
I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development
I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
LEARN ABOUT CENTOS
editdiff
REDIFF(1) Man pages REDIFF(1)
NAME
rediff, editdiff - fix offsets and counts of a hand-edited diff
SYNOPSIS
rediff ORIGINAL EDITED
rediff EDITED
rediff {[--help] | [--version]}
editdiff FILE
editdiff {[--help] | [--version]}
DESCRIPTION
You can use rediff to correct a hand-edited unified diff. Take a copy of the diff you want to edit, and edit it without changing any
offsets or counts (the lines that begin "@@"). Then run rediff, telling it the name of the original diff file and the name of the one you
have edited, and it will output the edited diff file but with corrected offsets and counts.
A small script, editdiff, is provided for editing a diff file in-place.
The types of changes that are currently handled are:
o Modifying the text of any file content line (of course).
o Adding new line insertions or deletions.
o Adding, changing or removing context lines. Lines at the context horizon are dealt with by adjusting the offset and/or count.
o Adding a single hunk (@@-prefixed section).
o Removing multiple hunk (@@-prefixed sections).
Alternatively, if only one argument is provided, it is taken to be the edited file and the counts and offsets are adjusted as appropriate.
Some assumptions are made when used in this mode. See recountdiff(1) for more information.
OPTIONS
--help
Display a short usage message.
--version
Display the version number of rediff.
SEE ALSO
interdiff(1), recountdiff(1)
AUTHOR
Tim Waugh <twaugh@redhat.com>
Package maintainer
patchutils 13 May 2002 REDIFF(1)