01-01-2013
Hello Scrutinizer,
That was all needed? jaja
Few changes, I thought was needed many more things!
Thank youu for your great help!!!.
Best regards
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Hello Firends,
I have file like below. I want to remove selected blocks say abc,pqr,lst. how can i remove those blocks from file.
zone abc {
blah
blah
blah }
zone xyz {
blah
blah
blah }
zone pqr {
blah
blah
blah } (4 Replies)
Discussion started by: nrbhole
4 Replies
2. Shell Programming and Scripting
Hi All,
I have a dhcpd.conf file that gets static hosts added and removed via a shell script. After sometime, there becomes huge gaps of space ( blank lines ) between each host block. I tried a couple of sed one-liners; but, I can't seem to get the output I'm looking for. Also, I would like... (4 Replies)
Discussion started by: cstovall
4 Replies
3. Shell Programming and Scripting
Hi all! Im wondering if its possible to remove all lines between two lines. Im working with a document like this:
data1
data2
<Remove>
data3
data4
</Remove>
data5
data6
I need it to end up like this if that possible:
data1
data2
data5
data6
There are multiple instances of... (2 Replies)
Discussion started by: Grizzly
2 Replies
4. Shell Programming and Scripting
Hi,
I am working with CVS log data and have some data as follows.
RCS file: /cvsroot/eclipse/org.eclipse.debug.core/core/org/eclipse/debug/core/IBreakpointListener.java,v
head: 1.14
branch:
locks: strict
access list:
keyword substitution: o
total revisions: 15; selected... (3 Replies)
Discussion started by: sandeepk1611
3 Replies
5. UNIX for Advanced & Expert Users
Hi All,
I have a very huge file (4GB) which has duplicate lines. I want to delete duplicate lines leaving unique lines. Sort, uniq, awk '!x++' are not working as its running out of buffer space.
I dont know if this works : I want to read each line of the File in a For Loop, and want to... (16 Replies)
Discussion started by: krishnix
16 Replies
6. Shell Programming and Scripting
Hello again, I am wanting to remove all duplicate blocks of XML code in a file. This is an example:
input:
<string-array name="threeItems">
<item>item1</item>
<item>item2</item>
<item>item3</item>
</string-array>
<string-array name="twoItems">
<item>item1</item>
<item>item2</item>... (19 Replies)
Discussion started by: raidzero
19 Replies
7. Shell Programming and Scripting
Hi folks,
I have a little problem, that is kinda bugging me :( ...
I have a logfile, that looks kinda "crippled" in the raw format ...
So far, I've managed, to get it in a format like this:
PRI_PTA01,2W,30,30,0,0,0,0,0,0,0,0,0,0,0,0... (5 Replies)
Discussion started by: whizzler
5 Replies
8. Shell Programming and Scripting
Hello,
I have a file that I want to be able to insert a new line before every instance of a regex. I can get it to do this for each line that contains the regex, but not for each instance.
Contents of infile:
Test this 1...
Test this 2...
Test this 3... Test this 4... Test this... (2 Replies)
Discussion started by: deneuve01
2 Replies
9. UNIX for Dummies Questions & Answers
I would like to print unique lines without sort or unique. Unfortunately the server I am working on does not have sort or unique. I have not been able to contact the administrator of the server to ask him to add it for several weeks. (7 Replies)
Discussion started by: cokedude
7 Replies
10. Shell Programming and Scripting
My OS : RHEL 6.7
I have a text file with comma separated values like below
$ cat testString.txt
'JOHN' , 'KEITH' , 'NEWMAN' , 'URSULA' , 'ARIANNA' , 'CHENG', . . . .
I want these values to appear like below
'JOHN' ,
'KEITH' ,
'NEWMAN' ,
'URSULA' ,
'ARIANNA' ,
'CHENG',
.... (4 Replies)
Discussion started by: kraljic
4 Replies
LEARN ABOUT DEBIAN
afp_signature.conf
AFP_SIGNATURE.CONF(5) Netatalk 2.2 AFP_SIGNATURE.CONF(5)
NAME
afp_signature.conf - Configuration file used by afpd(8) to specify server signature
DESCRIPTION
/etc/netatalk/afp_signature.conf is the configuration file used by afpd to specify server signature automagically. The configuration lines
are composed like:
"server name" hexa-string
The first field is server name. Server names must be quoted if they contain spaces. The second field is the hexadecimal string of 32
characters for 16-bytes server signature.
The leading spaces and tabs are ignored. Blank lines are ignored. The lines prefixed with # are ignored. The illegal lines are ignored.
Note
Server Signature is unique 16-bytes identifier used to prevent logging on to the same server twice.
Netatalk 2.0 and earlier generated server signature by using gethostid(). There was a problem that another servers have the same
signature because the hostid is not unique enough.
Current netatalk generates the signature from random numbers and saves it into afp_signature.conf. When starting next time, it is read
from this file.
This file should not be thoughtlessly edited and be copied onto another server. If it wants to set the signature intentionally, use the
option "-signature user:xxxx" in afpd.conf. In this case, afp_signature.conf is not used.
EXAMPLES
Example. afp_signature.conf three servers on one netatalk
# This is a comment.
"Guest Server" 251D25569CB29AFDF296C6B5B3A385B7
"User Server" 26B5D785046C019F55718F76B1C13BFB
special 74A0BB94EC8C13988B2E75042347E528
SEE ALSO
afpd(8), afpd.conf(5), asip-status.pl(1)
Netatalk 2.2 08 Mar 2011 AFP_SIGNATURE.CONF(5)