Hi,
I am trying to delete a load of core files, but make sure I only delete core files. The system I am using has many files with core in the name, so I obviously can not simply search for "core".
I have tried using the 'find' command with pattern matching via , and know that his is the way... (3 Replies)
Hi,
I am writing a BASH shell script. I would like to count all the files in the CURRENT directory matching a specific pattern. Could someone suggest the best/simplest way to do this. I have thought of these solutions (for simplicity the pattern is all files starting with A):
ls -1 *A | wc -l... (5 Replies)
Hi,
i need to break a file into 2 files afetr matching a pattern
for ex. there is a fil, file .txt which contains
here i need to look for mat $ demon if it matches then i need to transfer the data into another file till the line in which a "d6s" comes,and i have to delete tat line... (3 Replies)
Hi,
I have following files in my directory:
/TESTDONTDEL> ls -alt
total 14
drwxr-xr-x 2 oracle dba 1024 May 15 06:30 .
-rw-r--r-- 1 oracle dba 40 May 15 06:30 exception.txt
-rw-r--r-- 1 oracle dba 19 May 15 06:22 ful_1234_test1.txt
-rw-r--r-- 1... (2 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Write an automated shell program(s) that can create, monitor the log files and report the issues for matching... (0 Replies)
Hi friends.. I have many dirs in my working directory. Every dir have thousands of files (.jsp, .java, .xml..., etc). So I am working with an script to find every file recursively within those directories and subdirectories ending with .jsp or .java which contains inside of it, the the pattern... (3 Replies)
I am on ubuntu 11.10 using bash scripts
I want to remove all files matching a string pattern and I am using the following code
find . -name "*$pattern*" -exec rm -f {} \;I have encountered a problem when $pattern is empty. In this case all my files in my current directory were deleted. This... (3 Replies)
Hi Techies,
I need a help in finding junk characters and remove them from a Datafile.
we have a file and it had crores of records like below
SGSN_MCC_MNC=01150
but sometime due to the issue with sending server we are getting some junk characters in the middle of data like below
... (6 Replies)
Hi All
I am having one awk and sed requirement for the below problem.
I tried multiple options in my sed or awk and right output is not coming out.
Problem Description
###############################################################
I am having a big file say file having repeated... (4 Replies)
I have wrote this small program to check for installed and missing packages in LINUX (RHEL x86_64)
For now it perfectly prints all the installed and missing packages however I want that it loops through to the end (in either case) and
list all packages however if one or more packages are... (5 Replies)
Discussion started by: Dazzler74
5 Replies
LEARN ABOUT OPENSOLARIS
fc-match
FC-MATCH(1)FC-MATCH(1)NAME
fc-match - match available fonts
SYNOPSIS
cc [ flag... ] file... -lfontconfig [ library... ]
fc-match [ -svV? ] [ --sort ] [ --verbose ] [ --version ] [ --help ] [ font-pattern ]
DESCRIPTION
fc-match matches font-pattern (empty pattern by default) using the normal fontconfig matching rules to find the best font available. If
--sort is given, the sorted list of best matching fonts is displayed. With --verbose, the whole font pattern for each match is printed,
otherwise only the file, family and style are printed..
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-v --verbose
Print whole font pattern for each match.
-? --help
Show summary of options.
-V --version
Show version of the program and exit.
-s --sort
Displays sorted list of best matching fonts.
font-pattern
Displays fonts matching font-pattern (uses empty pattern by default).
SEE ALSO fc-list(1).
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was updated by Patrick Lam <plam@csail.mit.edu>.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWfontconfig |
+-----------------------------+-----------------------------+
|Interface Stability |Volatile |
+-----------------------------+-----------------------------+
|MT-Level |See XInitThreads(3X11) |
+-----------------------------+-----------------------------+
04 November 2007 FC-MATCH(1)