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_xv_shm_put_image_checked
xcb_xv_shm_put_image(3) XCB Requests xcb_xv_shm_put_image(3)NAME
xcb_xv_shm_put_image -
SYNOPSIS
#include <xcb/xv.h>
Request function
xcb_void_cookie_t xcb_xv_shm_put_image(xcb_connection_t *conn, xcb_xv_port_t port, xcb_drawable_t drawable, xcb_gcontext_t gc,
xcb_shm_seg_t shmseg, uint32_t id, uint32_t offset, int16_t src_x, int16_t src_y, uint16_t src_w, uint16_t src_h, int16_t drw_x,
int16_t drw_y, uint16_t drw_w, uint16_t drw_h, uint16_t width, uint16_t height, uint8_t send_event);
REQUEST ARGUMENTS
conn The XCB connection to X11.
port TODO: NOT YET DOCUMENTED.
drawable TODO: NOT YET DOCUMENTED.
gc TODO: NOT YET DOCUMENTED.
shmseg TODO: NOT YET DOCUMENTED.
id TODO: NOT YET DOCUMENTED.
offset TODO: NOT YET DOCUMENTED.
src_x TODO: NOT YET DOCUMENTED.
src_y TODO: NOT YET DOCUMENTED.
src_w TODO: NOT YET DOCUMENTED.
src_h TODO: NOT YET DOCUMENTED.
drw_x TODO: NOT YET DOCUMENTED.
drw_y TODO: NOT YET DOCUMENTED.
drw_w TODO: NOT YET DOCUMENTED.
drw_h TODO: NOT YET DOCUMENTED.
width TODO: NOT YET DOCUMENTED.
height TODO: NOT YET DOCUMENTED.
send_event
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_xv_shm_put_image_checked. See xcb-requests(3) for details.
ERRORS
This request does never generate any errors.
SEE ALSO AUTHOR
Generated from xv.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
XCB 2014-06-10 xcb_xv_shm_put_image(3)