I was using the following bash command inside the emacs compile command to search C++ source code:
grep -inr --include='*.h' --include='*.cpp' '"' * | sed "/include/d" | sed "/_T/d" | sed '/^ *\/\//d' | sed '/extern/d'
Emacs will then position me in the correct file and at the correct line... (0 Replies)
I know this should be simple, but I've been manning sed awk grep and find and am stupidly stumped :(
I'm trying to use sed (or awk, find, etc) to find 4 characters on the second line of a file.txt 44-47 characters in. I can find lots of sed things for lines, but not characters. (4 Replies)
How do I remove non-printable characters from all txt files and output the results to one file?
I've tried the following:
tr -cd '\n' < *.txt > out.txt
and it gives ambiguous redirect error.
How can I get it to operate on all txt files in the current directory and append the output to... (1 Reply)
Hi Team,
I have a file a1.txt with data as follows.
dfjakjf...asdfkasj</EnableQuotedIDs><SQL><SelectStatement modified='1' type='string'><!
The delimiter string: <SelectStatement modified='1' type='string'><!
dlm="<SelectStatement modified='1' type='string'><!
The above command is... (7 Replies)
Discussion started by: kmanivan82
7 Replies
LEARN ABOUT CENTOS
xcb_set_clip_rectangles
xcb_set_clip_rectangles(3) XCB Requests xcb_set_clip_rectangles(3)NAME
xcb_set_clip_rectangles -
SYNOPSIS
#include <xcb/xproto.h>
Request function
xcb_void_cookie_t xcb_set_clip_rectangles(xcb_connection_t *conn, uint8_t ordering, xcb_gcontext_t gc, int16_t clip_x_origin,
int16_t clip_y_origin, uint32_t rectangles_len, const xcb_rectangle_t *rectangles);
REQUEST ARGUMENTS
conn The XCB connection to X11.
ordering One of the following values:
XCB_CLIP_ORDERING_UNSORTED
TODO: NOT YET DOCUMENTED.
XCB_CLIP_ORDERING_Y_SORTED
TODO: NOT YET DOCUMENTED.
XCB_CLIP_ORDERING_YX_SORTED
TODO: NOT YET DOCUMENTED.
XCB_CLIP_ORDERING_YX_BANDED
TODO: NOT YET DOCUMENTED.
TODO: NOT YET DOCUMENTED.
gc TODO: NOT YET DOCUMENTED.
clip_x_origin
TODO: NOT YET DOCUMENTED.
clip_y_origin
TODO: NOT YET DOCUMENTED.
rectangles_len
TODO: NOT YET DOCUMENTED.
rectangles
TODO: NOT YET DOCUMENTED.
DESCRIPTION RETURN VALUE
Returns an xcb_void_cookie_t. Errors (if any) have to be handled in the event loop.
If you want to handle errors directly with xcb_request_check instead, use xcb_set_clip_rectangles_checked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO AUTHOR
Generated from xproto.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB 2014-06-10 xcb_set_clip_rectangles(3)