10-16-2008
hi
sorry my freind
it seems there is need for some more clarity in your question ,
ok what i under stood is u want to serach a file with pattern "2392" and a .html file ,
now so u want to rename that file to some thing else ?
or do you want to just list [ ls ] all the files
like the above reply you can do it
find . -type f -name "*2392*.html" |xargs ls -l
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I create a file touch 1201093003 fichcomp
and inside a repertory (which hava a lot of files) I want to list all files created before this file :
find *.* \! -maxdepth 1 - newer fichcomp but this command returned bash: /usr/bin/find: Argument list too long
but i make a filter all... (1 Reply)
Discussion started by: yacsil
1 Replies
2. Shell Programming and Scripting
Yes , I have to find a file in unix without using any find or where commands.Any pointers for the same would be very helpful as i am beginner in shell scritping and need a solution for the same.
Thanks in advance.
Regards
Jatin Jain (10 Replies)
Discussion started by: jatin.jain
10 Replies
3. UNIX for Dummies Questions & Answers
I need to find whether there is a file named vijay is there or not in folder named "opt" .I tried "ls *|grep vijay" but it showed permission problem.
so i need to use find command (6 Replies)
Discussion started by: amirthraj_12
6 Replies
4. Shell Programming and Scripting
I am using csh and getting the error "find: No match." but I cannot figure out why. What I am trying to do is set the find command to a variable and then execute the variable as a command. I ran it through a debugger and it looks like $FIND is getting set but the find command can not actually be... (2 Replies)
Discussion started by: mst3k4l
2 Replies
5. Linux
Hi,
I'm using the following command to find the multiple requierd file types and its working fine
find . -name "*.pl" -o -name "*.pm" -o -name "*.sql" -o -name "*.so" -o -name "*.sh" -o -name "*.java" -o -name "*.class" -o -name "*.jar" -o -name "*.gz" -o -name "*.Z" -type f
Though... (2 Replies)
Discussion started by: vickramshetty
2 Replies
6. Shell Programming and Scripting
I want to find a dir called STOP from the root.so what is the find command.
Thanks & Regards
Rajkumar (1 Reply)
Discussion started by: rajkumar_g
1 Replies
7. Shell Programming and Scripting
Hello everyone,
first post here, trying to learn scripting on my own and this forum as been really helpful so far. I made few little scripts working great but I m facing some problems with RE.
I have a bunch of files in many subdirectories called *001.ext *002.ext OR simple *.ext or *01.ext... (7 Replies)
Discussion started by: Sekullos
7 Replies
8. Shell Programming and Scripting
Hi all ,
I'm new to unix
I have a checked project , there exists a file called xxx.config .
now my task is to find all the files in the checked out project which references to this xxx.config file.
how do i use grep or find command . (2 Replies)
Discussion started by: Gangam
2 Replies
9. Shell Programming and Scripting
Hi,
I want find multiple string in one file using find coomand.
And keeping it in one variable.grep is not working. (5 Replies)
Discussion started by: vivek1489
5 Replies
10. Solaris
Hello,
I am running some performance based tests on Solaris, and I was wondering how fast the "seeking" rate of Solaris is, or how fast Solaris can get information about files with the "find" command. Does anyone know what 'find' command I could run to traverse through my system to see the rate... (1 Reply)
Discussion started by: bstring
1 Replies
LEARN ABOUT CENTOS
xcb_list_fonts_names_iterator
xcb_list_fonts(3) XCB Requests xcb_list_fonts(3)
NAME
xcb_list_fonts - get matching font names
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_list_fonts_cookie_t xcb_list_fonts(xcb_connection_t *conn, uint16_t max_names, uint16_t pattern_len, const char *pattern);
Reply datastructure
typedef struct xcb_list_fonts_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint16_t names_len;
uint8_t pad1[22];
} xcb_list_fonts_reply_t;
Reply function
xcb_list_fonts_reply_t *xcb_list_fonts_reply(xcb_connection_t *conn, xcb_list_fonts_cookie_t cookie, xcb_generic_error_t **e);
Reply accessors
int xcb_list_fonts_names_length(const xcb_list_fonts_reply_t *reply);
xcb_str_iterator_t xcb_list_fonts_names_iterator(const xcb_list_fonts_reply_t *reply);
REQUEST ARGUMENTS
conn The XCB connection to X11.
max_names The maximum number of fonts to be returned.
pattern_len
The length (in bytes) of pattern.
pattern A font pattern, for example "-misc-fixed-*".
The asterisk (*) is a wildcard for any number of characters. The question mark (?) is a wildcard for a single character. Use of
uppercase or lowercase does not matter.
REPLY FIELDS
response_type
The type of this reply, in this case XCB_LIST_FONTS. This field is also present in the xcb_generic_reply_t and can be used to
tell replies apart from each other.
sequence The sequence number of the last request processed by the X11 server.
length The length of the reply, in words (a word is 4 bytes).
names_len The number of font names.
DESCRIPTION
Gets a list of available font names which match the given pattern.
RETURN VALUE
Returns an xcb_list_fonts_cookie_t. Errors have to be handled when calling the reply function xcb_list_fonts_reply.
If you want to handle errors in the event loop instead, use xcb_list_fonts_unchecked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO
xcb-requests(3)
AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB
2014-06-10 xcb_list_fonts(3)