10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have an requirement, where i need to get total count of the file based on creation date with there filename selected pattern.
I want to get the count of files created on each day based on a pattern find.
find . -type... (7 Replies)
Discussion started by: sadique.manzar
2. UNIX Desktop Questions & Answers
I've created a user which shell is the restricted one (/usr/lib/rsh), but I've realized that the user cannot execute a script !!!
The scope was to allow the ssh access to a user that could not access to any other directories but there that user should be able to run a script that retrieves ... (2 Replies)
Discussion started by: mary0
3. Shell Programming and Scripting
I need to do a patten match between files .
I am new to shell scripting and have come up with this so far. It take 50 seconds to process files of 2mb size . I need to tune this code as file size will be around 50mb and need to save time.
Main issue is that I need to search the pattern from... (2 Replies)
Discussion started by: nitin_daharwal
4. UNIX for Dummies Questions & Answers
It is for HP-Unix B.11.31.
1. List the directories, having given pattern in the directories name, sorted by creation date.
Example: Directories with name "pkg32*" or "pkg33*"
2. On the output of 1. list the directories by creation date as sort order, with creation date... (2 Replies)
Discussion started by: Siva SQL
5. Shell Programming and Scripting
I've got a scripting problem that has been bugging me so thought I'd ask the wise people here! Basically I have two overlapping log files, and I want to get the newest lines from the new log file that aren't in the old log file - but not the old lines in the old log that aren't in the... (1 Reply)
Discussion started by: salamagd
6. Shell Programming and Scripting
I need to write a file with value value from Paramer which is passed from datastage. It should overwrite the file if already exists.
Can anybody provide command for this? (1 Reply)
Discussion started by: cnrj
7. Shell Programming and Scripting
I am quite new to Perl scripting and i need to create a .TXT file using perl, with fields (A,B,C,D,E), and this text file should be named with current file creation date "XYZ_CCYYMMDD.TXT" (i.e.XYZ_2011042514:33 PM).
Can anyone who has done this, please share their expertise on this... (5 Replies)
Discussion started by: msrahman
I want to gzip a file and append the creation date to the end of the file. How can I accomplish this task. Basically they are log files which need a creation date stamp appended to make sure they do not overwrite other log files.
-jack (3 Replies)
Discussion started by: jacktravine
9. UNIX for Advanced & Expert Users
Is there any way to restrict directories with one type of file creation.
regards. (8 Replies)
Discussion started by: guguli
how to create a file with the same modification time as another file is having using the copy command? (1 Reply)
Discussion started by: infyanurag
fc-pattern - parse and show pattern
fc-pattern [ -cdVh ] [ --config ] [ --default ] [ [ -f format ] [ --format format ] ] [ --version ] [ --help ]
[ pattern [ element... ] ]
fc-pattern parses pattern (empty pattern by default) and shows the parsed result. If --config is given, config substitution is performed
on the pattern before being displayed. If --default is given, default substitution is performed on the pattern before being displayed.
If any elements are specified, only those are printed.
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
-c Perform config substitution on pattern.
-d Perform default substitution on pattern.
-f Format output according to the format specifier format.
-V Show version of the program and exit.
-h Show summary of options.
Parses and displays pattern (uses empty pattern by default).
If set, the element property is displayed for parsed pattern.
FcNameParse(3) FcConfigSubstitute(3) FcDefaultSubstitute(3) FcPatternPrint(3) FcPatternFormat(3) fc-cat(1) fc-cache(1) fc-list(1) fc-
match(1) fc-query(1) fc-scan(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
This manual page was updated by Behdad Esfahbod <firstname.lastname@example.org>.
Apr 20, 2010 FC-PATTERN(1)