This is actually what I'm trying to do:
I want to check that "Keyword1" is actually followed by "Keyword2" etc.
Lines like these should be rejected:
This should be a simple task, but I fail. I'd like some sort of lookahead in Flex or ability to invert match.
I'm trying to write a simple unix script that will delete files after 30 days of being created. I've never done this before but conceptually it sounds easy. Here is what I'm trying to do:
Get System Date
Get File Date
If (sysdate-filedate>30days)
rm file
All of these files are contained... (1 Reply)
I have a rather big script that i have written in ksh and it is falling over in two places with a 'test argument' error. I know this usually means that the if statement is not correct, but it is fine. I have looked through the rest of the script for any odd brackets or ` marks, but can't see... (2 Replies)
Dear all,
I am a complete newbie to (perl) programming and I am completely stuck in a project. I have the following arrays
@array_1
@array_2
@array_A
@array_B
@array_C
Each element pair of array_1 and array_2 is linked to all elements of a third array (e.g. array_A, array_B or... (3 Replies)
Building software in most languages is a pain. Remember ant build.xml, maven2 pom files, and multi-level makefiles?
Python has a simple solution for building modules, applications, and extensions called distutils. Disutils comes as part of the Python distribution so there are no other packages... (0 Replies)
I'd like a shell-script syntax checker that can detect at least the following errors, and more:
1. Variable $VAR used but VAR has not been defined.
2. Variable VAR defined but never used.
3. Use of unquoted variables which might break external commands e.g. SOMETHING in: value=`grep $SOMETHING... (5 Replies)
I want to write a bash script to:
1. Send an email from localhost to an external gmail account. (gmail then automatically forwards the message back to a pop account on the same server.
2. Script waits 3 minutes then checks to see if the email arrived, and if not, it sends an email to... (9 Replies)
Simple Http Proxy Server Checker Script with curl
mirror proxies-scripts/proxc at master * Anoncheg1/proxies-scripts * GitHub
output in terminal
HTTP, HTTP Connect (HTTPS not supported)
command line:
proxc filename
where filename is file like
119.110.69.185:8080
119.235.16.41:8080... (4 Replies)
I'm fairly new to bash scripts, and all things unix in general. But I was in desperate need of this script, so I took matters into my own hands and built it!
The first script uses a password generator that creates 4 letter domain names and outputs only the ones that are available. Currently its... (0 Replies)
Discussion started by: Files
0 Replies
LEARN ABOUT SUNOS
named-checkconf
named-checkconf(1M) System Administration Commands named-checkconf(1M)NAME
named-checkconf - named configuration file syntax checking tool
SYNOPSIS
named-checkconf [-v] [-t directory] filename
DESCRIPTION
The named-checkconf utility checks the syntax, but not the semantics, of a named configuration file.
OPTIONS
The following options are supported:
-t directory Change the root directory to directory so that include directives in the configuration file are processed as if run by a
named configuration whose root directory has been similarly changed.
-v Print the version of the named-checkconf program and exit.
OPERANDS
The following operands are supported:
filename The name of the configuration file to be checked. If not specified, it defaults to /etc/named.conf.
EXIT STATUS
0 No errors were detected.
1 An error was detected.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWbind9 |
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO named(1M), named.conf(4), attributes(5)
BIND 9 Administrator Reference Manual
NOTES
Source for BIND9 is available in the SUNWbind9S package.
SunOS 5.10 15 Dec 2004 named-checkconf(1M)