input-file(7) GGI input-file(7)NAME
input-file - File input
SYNOPSIS
input-file: [<file>]
input-file: |[cmd]
DESCRIPTION
Reads and generates events from a file such as one created by filter-save(7).
OPTIONS
file The file events are read from. The standard input is used by default.
cmd If the file name starts with a |, it is interpreted as a command which is run. The process stdout is used as input file for input-
file.
SEE ALSO filter-save(7)libgii-1.0.x 2004-05-21 input-file(7)
Check Out this Related Man Page
libgii(7) GGI libgii(7)NAME
libgii - A flexible library for input handling
DESCRIPTION
LibGII is an input library developed by the GGI Project. Its design philosophy is similar to LibGGI, which deals with graphics output.
LibGII is based on the concept of input streams, which virtualize access to the underlying input drivers. Events from various input devices
are abstracted into easy-to-use structures. LibGII also allows the application to join streams together, receiving input from an arbitrary
combination of devices.
LibGII is a separate component from LibGGI, although LibGGI depends on LibGII for input purposes. (LibGGI's input functions are simply
wrappers for LibGII functions.)
ENVIRONMENT VARIABLES
The following outlines the environment variables, intended for the user, which affect the behaviour of LibGII:
GII_INPUT
The default input source(s) and/or filter(s) to use when giiOpen() is called with a NULL argument. The format is: input:inputargs.
Multiple inputs can be specified by this notation: (i1):(i2) ....
Note: This setting does not affect LibGGI visuals automatically opening inputs. Use the GGI_INPUTx variable instead.
GII_DEBUG
The debug level for LibGII:
o 0 or unset : debug output is off; debugging is off
o 255 : all debug output is on
You may also bitwise 'or' any of the following together:
o 2 : debug core
o 32 : misc debugging output
o 64 : debug dynamic library handling
o 128 : debug event handling
GII_DEBUGSYNC
Turn on synchronous debug output, flushing the output buffers before returning from DPRINT calls.
GII_CONFDIR
Override compiled-in path to global config files (Win32 only, but not Cygwin).
Other environment variables specific to filters and inputs are documented in the corresponding manual page.
SEE ALSO libgii.conf(5), filter-keytrans(7), filter-mouse(7), filter-save(7), filter-tcp(7), input-directx(7), input-linux-kbd(7), input-mouse(7),
input-file(7), input-linux-mouse(7), input-tcp(7), input-linux-evdev(7), input-lk201(7).
libgii-1.0.x 2006-12-30 libgii(7)
Hi everyone.
I have a lot of programs i want to run on some data files, they need to be done sequentially. Often the output from one program is the input for the next.
e.g
$ progA data1 > data1.A
$ progB data1.A > data1.AB
$ progC data1.AB > data1.ABC
repeat on data2, 3, 4, 5, 6 etc
... (4 Replies)
Hi everyone,
I've really searched for a solution to this and this is what I found so far:
I need to sort a command output (here represented as a "cat file" command) and from the second down to the second-last line based on the second row and then print ALL the output with the specified section... (7 Replies)
Hi,
here's the problem:
text="hello1 hello2
world
earth mars jupiter
planet"how do I print the text until it finds the keyword "mars" so that the desired output is
output="hello1 hello2
world
earth"
I have rtfm of sed and I think the problem is, that if I find the word "mars" it will... (7 Replies)
Hello all,
after spending hours of searching the web I decided to create an account here. This is my first post and I hope one of the experts can help.
I need to resolve a grep / sed / xargs / awk problem.
My input file is just like this:
----------------------------------... (6 Replies)
Hi everyone, I would really appreciate any help I could get on the following topic.
I am not very familiar with reg expressions nor with sed, I just know the basic uses. What I am trying to do is the following: I have a huge text file where I would like to replace all occurnces of a certain... (13 Replies)
Hi Gurus,
my current code like below:
nawk '{f1 = (NF>1)?$1:""}{print f1, $NF}'|sed -e 's/s(/,/g;s/)//g;s/ *,/,/'|nawk -F"," '{ab}END{for (i in b) if (!(i in a))print i}'
I have file like below. (this is autosys job dependencies)
the job with s() is dependencies, the job without s() is... (10 Replies)
Hi,
I's like to ask for help with the following question:
this is an example file:
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
1 2 3 4 5 6 7 8 9 10
I need to have it re-arranged in the following manner: first 2 columns, zero, zero, last two columns, columns 3 to... (6 Replies)
I have a text file like this , where the same set of three lines repeat with different values.
INFO: processing now 03/25/2015-00:06:05 03/25/2015-00:16:04
------Invoking myexe table=table1
INFO 25-03 00:20:26,801 - Finished processing (I=0, O=57, R=57, W=57, U=0, E=0)
INFO: processing... (4 Replies)
I have data such as below where the value in second field is the same as that in the row after.
123456,22222,John,0,xyz
234567,22222,John1,1,cde
43212,3333,Jean,3,pip
84324,3333,Abel,2,cat
I'd like to rearrange the output like below to put such records beside each other and separated with... (5 Replies)
Hello,
I would like to group/sort a file of records by a particular field and then count how many records belong in that grouping.
For example say I have the following data:
1234|"ZZZ"|"Date"|"1"|"Y"|"ABC"|""|AA
ABCD|"ZZZ"|"Date"|"1"|"Y"|"ABC"|""|AA
EFGH|"ZZZ"|"Date"|"1"|"Y"|"ABC"|""|BB... (14 Replies)
Hi,
My input is like this
head input.txt
Set1,Set2,Set3
g1,g2,g3
g2,g1,g3,
g4,g5,g5
g1,g1,g1,
g2,g1,g1,
g6,g7,g8
,g7,g8
,,g8
My output file should be
Name,Set1,Set2,Set3
g1,1,1,1 (18 Replies)
Hi All
I'm trying to insert a new line at the before each comment line in a file.
Comment lines start with '#-----'
there are other comments with in lines but I don't want a new line there.
Example file:
blah
blah #do not insert here
#this is a comment
blah #some more
#another comment... (10 Replies)
Hello,
I know how to use sed for simple search but i need to search something like below in a file.
From the below string, i need to find and replace only ./ with a $ using sed.
./abcd/str.xyz
Thanks in advance
KK (8 Replies)
Dears,
I have a listfile contains list of files path.
i need to read the line of the listfile
mv the file to other directory
and update the listfile by deleting the lines of the listfile.
#!/bin/bash
target=/fstest/INVESTIG/Sadiq/TEST_ARCH
while read -r line || ];
do
mv $line... (19 Replies)