10-27-2000
That just what I needed. Thanks
rlh
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How do we list all the file names in a directory that does not belong to current date. (1 Reply)
Discussion started by: esh.mohan
1 Replies
2. UNIX for Dummies Questions & Answers
How do we list all the file names in a directory that does not belong to current date. (3 Replies)
Discussion started by: esh.mohan
3 Replies
3. Shell Programming and Scripting
How do I get this to work?
cat somefile | grep "-rw-r--r-- 1 root wheel 287 Sep 10 15:12 shells~"
This is the the desired output
-rw-r--r-- 1 root wheel 287 Sep 10 15:12 shells~
I basically want an exact match of the line I am grepping for, the special characters and... (5 Replies)
Discussion started by: streetfighter2
5 Replies
4. UNIX for Dummies Questions & Answers
Hi ,
I am trying to find some files on a remote machine using the find command.
>ssh -q atukuri@remotehostname find /home/atukuri/ -name abc.txt
/home/atukuri/abc.txt
The above command works fine and lists the file, but if I want to do a long listing of files (ls -l) its not working . ... (2 Replies)
Discussion started by: atukuri
2 Replies
5. Solaris
Hi,
I wanted a script to find sum of files for a particular date, below is my script
ls -lrt *.req | nawk '$6 == "Aug"' | nawk '$7 == "1"'| awk '{sum = sum + $5} END {print sum}'
However, i get the error below
/usr/bin/ls: arg list too long
How do i fix that.
Many thanks before. (2 Replies)
Discussion started by: beginningDBA
2 Replies
6. UNIX for Advanced & Expert Users
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies
7. Solaris
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies
8. UNIX for Dummies Questions & Answers
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (3 Replies)
Discussion started by: mike12
3 Replies
9. Shell Programming and Scripting
I'm trying to list files, first by size and I'm using something like this
ls -l|awk '{print $5,$6,$7,$8,$9|"sort -nr"}'|more
Now I'd like to just do the same listing but only for files with the year 2009 in the $8 field or even anything less than 2011. (5 Replies)
Discussion started by: NycUnxer
5 Replies
10. UNIX for Beginners Questions & Answers
I know that I can use wild cards:ls ???????to list files 7 characters long, but how do i omit the .?! and spaces?
Please use CODE tags when displaying sample input, sample output, and code segments. (2 Replies)
Discussion started by: hiya54
2 Replies
LEARN ABOUT X11R4
cupstestppd
cupstestppd(1) Apple Inc. cupstestppd(1)
NAME
cupstestppd - test conformance of ppd files
SYNOPSIS
cupstestppd [ -I category ] [ -R rootdir ] [ -W category ] [ -q ] [-r] [ -v[v] ] filename.ppd[.gz] [ ... filenameN.ppd[.gz] ]
cupstestppd [ -R rootdir ] [ -W category ] [ -q ] [-r] [ -v[v] ] -
DESCRIPTION
cupstestppd tests the conformance of PPD files to the Adobe PostScript Printer Description file format specification version 4.3. It can
also be used to list the supported options and available fonts in a PPD file. The results of testing and any other output are sent to the
standard output.
The first form of cupstestppd tests one or more PPD files on the command-line. The second form tests the PPD file provided on the standard
input.
OPTIONS
cupstestppd supports the following options:
-I filename
Ignores all PCFileName warnings.
-I filters
Ignores all filter errors.
-I profiles
Ignores all profile errors.
-R rootdir
Specifies an alternate root directory for the filter, pre-filter, and other support file checks.
-W constraints
Report all UIConstraint errors as warnings.
-W defaults
Except for size-related options, report all default option errors as warnings.
-W filters
Report all filter errors as warnings.
-W profiles
Report all profile errors as warnings.
-W sizes
Report all media size errors as warnings.
-W translations
Report all translation errors as warnings.
-W all
Report all of the previous errors as warnings.
-W none
Report all of the previous errors as errors.
-q
Specifies that no information should be displayed.
-r
Relaxes the PPD conformance requirements so that common whitespace, control character, and formatting problems are not treated as hard
errors.
-v
Specifies that detailed conformance testing results should be displayed rather than the concise PASS/FAIL/ERROR status.
-vv
Specifies that all information in the PPD file should be displayed in addition to the detailed conformance testing results.
The -q, -v, and -vv options are mutually exclusive.
EXIT STATUS
cupstestppd returns zero on success and non-zero on error. The error codes are as follows:
1
Bad command-line arguments or missing PPD filename.
2
Unable to open or read PPD file.
3
The PPD file contains format errors that cannot be skipped.
4
The PPD file does not conform to the Adobe PPD specification.
EXAMPLES
The following command will test all PPD files under the current directory and print the names of each file that does not conform:
find . -name *.ppd ! -exec cupstestppd -q '{}' ; -print
The next command tests all PPD files under the current directory and print detailed conformance testing results for the files that do not
conform:
find . -name *.ppd ! -exec cupstestppd -q '{}' ;
-exec cupstestppd -v '{}' ;
SEE ALSO
lpadmin(8),
http://localhost:631/help
Adobe PostScript Printer Description File Format Specification, Version 4.3.
COPYRIGHT
Copyright 2007-2011 by Apple Inc.
19 November 2009 CUPS cupstestppd(1)