Hi Folks,
I have a file with all fields defined by byte position, but any field can be empty so I cannot print lines based on a search of specific columns. I need to print all lines of this file where the string of two characters at byte position 100-101 contains the number 27. Any ideas?
... (4 Replies)
Hi,
I have following requirement. Pls suggest.
To search a string in a file which is combination of character and number(always 9 digit, but numeric). if found then caputure the exit return code as 0 else 1 , if 0 then next job can be triggerd. If exit code is 1, should return a failure... (10 Replies)
Hi Guys,
I am trying to write a perl script to search a string "Name" in the file "FILE" and also want to create a new file and push the searched string Name line along with 10 lines following the same.
can anyone of you please let me know how to go about it ? (8 Replies)
I woud like to substitue a string on a specific position for specific lines
I've got a file and I would like to change a specific string from "TOCHANGE" to "ABCABCAB"
For every line (except 1,2, 3 and the last one) , I need to check between the 9th and the 16th digits.
For the 3rd line, I... (7 Replies)
What's the easiest way to search a file for a specific string and then look for other instances after that? I want to search for all Virtual Hosts and print out the Server Name and Document Root (if it has that info), while discarding the rest of the info.
Basically my file looks like this:
...... (6 Replies)
Hello all,
I need to print all the lines before a specific string and print a custom message 2 lines after that.
So far I have managed to print everything up the string, inclusively, but I can't figure out how to print the 2 lines after that and the custom message.
My code thus far is:... (4 Replies)
Hi,
I have log file which rolls out every second which is as this.
HttpGenRequest - -<!--OXi dbPublish--> <created="2014-03-24 23:45:37" lastMsgId="" requestTime="0.0333"> <response request="getOutcomeDetails" code="114" message="Request found no matching data" debug="" provider="undefined"/>... (3 Replies)
Hi,
I have logfile like this..
=== 2014-02-09 15:46:59,936 INFO RequestContext - URL: '/eyisp/sc/skins/EY/images/pickers/comboBoxPicker_Over.png', User-Agent: 'Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko': Unsupported with Accept-Encoding header
=== 2015-02-09... (8 Replies)
Hi,
I have a file with hundreds of lines. I want to search for particular lines starting with 4000, search and replace the 137-139 position characters; which will be '000', with '036'. Can all of this be done without opening a temp file and then moving that temp file to the original file name.
... (7 Replies)
Lets say I have a massive directory which is filled with other directories all filled with different c++ scripts and I want a listing of all the scripts that contain the string: "this string". Is there a way to use a grep search for that? I tried:
grep -lr "this string" *
but I do not... (3 Replies)
Discussion started by: Circuits
3 Replies
LEARN ABOUT OPENDARWIN
afp_voluuid.conf
AFP_VOLUUID.CONF(5) Netatalk 2.2 AFP_VOLUUID.CONF(5)NAME
afp_voluuid.conf - Configuration file used by afpd(8) to specify UUID for Time Machine volume
DESCRIPTION
/etc/netatalk/afp_voluuid.conf is the configuration file used by afpd to specify UUID of Time Machine volume automagically. The
configuration lines are composed like:
"volume name" uuid-string
The first field is volume name. Volume names must be quoted if they contain spaces. The second field is the 36 character hexadecimal ASCII
string representation of a UUID.
The leading spaces and tabs are ignored. Blank lines are ignored. The lines prefixed with # are ignored. The illegal lines are ignored.
Note
This UUID is advertised by Zeroconf in order to provide robust disambiguation of Time Machine volume.
The afpd generates the UUID from random numbers and saves it into afp_voluuid.conf, only when setting "tm" option in AppleVolumes file.
This file should not be thoughtlessly edited and be copied onto another server.
EXAMPLES
Example. afp_voluuid.conf three TM volumes on one netatalk
# This is a comment.
"Backup for John Smith" 1573974F-0ABD-69CC-C40A-8519B681A0E1
"bob" 39A487F4-55AA-8240-E584-69AA01800FE9
mary 6331E2D1-446C-B68C-3066-D685AADBE911
SEE ALSO afpd(8), AppleVolumes.default(5), avahi-daemon(8)Netatalk 2.2 8 March 2011 AFP_VOLUUID.CONF(5)