Hello,
I need to find all *.xml files that matched by pattern on Linux. I need to have written the file name on the screen and then change the pattern in the file just was found.
For instance.
I can start the script with arguments for keyword and for value, i.e
script.sh keyword... (1 Reply)
Hi Everyone,
I have a JIL (Job Information Language) Definition for Several Jobs in a file.
I would like to do the following:
insert_job: KS_INT_BIZ_INT job_type: c
command: /home/filter/script.sh INT
machine: MACHINE
owner: filter
permission: gx,mx
date_conditions: 1
days_of_week:... (3 Replies)
Hi all,
I'd like to search a file for the first occurence of the phrase "PLASTICS THAT EXPIRE" and then discard all the lines that came before it. Output the remainder to a new file. Operating system is hp-ux. I've searched for usual awk and sed one liners but can't find a solution.
Thank... (4 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
Dear gurus,
Please help this beginner to write and understand the required script. I am looking for useing awk for sed.
I have a few thousand lines file whose contain are mostly as below and I am trying to achieve followings.
1. Find a string, say user1. Then hash the line containing the... (6 Replies)
Hi,
I need help to grep a specific part of a log file (bold).
24/2/2017-16:57:17.056 frosti-1 M3UA-Tx: }
24/2/2017-16:57:17.056 frosti-1 M3UA-Tx: extensionContainer <Not Present>
24/2/2017-16:57:17.056... (8 Replies)
I have a text file with many thousands of lines, a small sample of which looks like this:
InputFile:PS002,003 D -1 5 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 6 6 -1 -1 -1 -1 0 509 0
PS002,003 PSQ 0 1 7 18 1 0 -1 1 1 3 -1 -1 ... (5 Replies)
Hi,
Could you please help me finding a way to replace a specific value in a text block when matching a key pattern ?
I got the keys and the values from a command similar to:
echo -e "key01 Nvalue01-1 Nvalue01-2 Nvalue01-3\nkey02 Nvalue02-1 Nvalue02-2 Nvalue02-3 \nkey03 Nvalue03-1... (2 Replies)
In the awk below I am trying to remove all lines above and including the pattern Test or Test2. Each block is seperated by a newline and Test2 also appears in the lines to keep but it will always have additional text after it. The Test to remove will not. The awk executed until the || was added... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT DEBIAN
getds
GETDS(1p) User Contributed Perl Documentation GETDS(1p)NAME
getds - Create a DS record from DNSKEYing information
SYNOPSIS
getds <domain>
DESCRIPTION
getds will create a DS record from DNSKEYs for the specified DNS domain. It does this by converting DNSKEYs to DS records using the
specified hashing algorithm. The results can then be passed to upstream DNSSEC-supporting parents or to DLV registries.
getds will also pull the parent's published DS records and compare them against the existing keys. It will then list any DS records not
published in the parent, as well as any DS records that are published in the parent but which don't match an existing key.
OPTIONS
getds takes the following options:
-a ALGORITHMS
--hash-algorithm algorithm ALGORITHMS
This option specifies the hash algorithm to use when converting DNSKEYs to DS records. It may be a comma-separated list if multiple
algorithms are desired. The algorithms to choose from may be either SHA256 or SHA1.
The default is SHA256,SHA1
-z
--print-zsks
This option causes getds to print ZSK DS records, as well as KSK records.
-p
--dont-check-parent
Instructs getds to not check the records in the parent for their published DS records.
-q
--quiet
Produces quiet output with no explanatory headers. In other words, it only prints the DS records generated from the DNSKEYs.
Note: Running with -q implies -p.
SECURITY CONSIDERATIONS
By default, getds pulls data from the live DNS. If your DNS resolver isn't configured so that this is pulled securely, then the results
can't be trusted.
COPYRIGHT
Copyright 2008-2012 SPARTA, Inc. All rights reserved. See the COPYING file included with the DNSSEC-Tools package for details.
AUTHOR
Wes Hardaker, hardaker AT AT AT users.sourceforge.net
perl v5.14.2 2012-06-21 GETDS(1p)