Have tried the search, but nothing resembles what I'd like to accomplish. I am attempting to write a script that will allow the user to input a list of data at the command prompt, then the data is used by another script for processing. I am allowing the user a list of 10 members in order to... (4 Replies)
Hi All,
:confused:
can anyone throw some light on variable handling in UNIX script??
I want to know about the local variables we declare inside the UNIX script.
e.g.
i=10
OR
cat file1 | while read line
do
echo $line
done
etc.
Does UNIX have any data types
Can some one... (1 Reply)
Hi,
I have a shell script that has to taken inputs from a file say "Inputs". Now I take 2 inputs at a time. Suppose the Inputs file contains numbers like
2
3
4
5
Now I have a written a script for adding 2 numbers. When I run the script for first time 2 and 3 must be the inputs. When i run the... (4 Replies)
I am trying to extract two fields from the output of ifconfig command on one of my sun server . The output looks like :
root@e08k18:/tmp/test# ifconfig -a
lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
ce0:... (9 Replies)
I am trying to make an interactive script. Only problem my inputs are not read and correctly channeled.
Please help:
Here is my code
#!/bin/sh
PATHSCRIPT=/home/pp/tmp
#if ; then
# echo "Syntax : $0 input off lat sample"
# exit 1
# fi
echo "Choice of Graph"
echo "1 -- Type... (5 Replies)
need a help to get a script:
bash # ./xx.sh
>> count
567
script will run the xx.sh and it will go to >> then run "count"
will get the result "567" and print it (7 Replies)
Hi, i want to print 2nd column value with the below script. I need to take input of the string i need to search in that file and file name. How can i take these two as inputs? using read command? Getting error for below script.
echo "enter SID"
read SID
echo "enter filename"
read filename... (8 Replies)
Hi guys,
im newbie, im trying something, but cannot figure out how to bring together case with 2 inputs.
Something like "enter your name" and "enter your age".
I had idea but dont now how to finish it as I said i'm just a beginner.
#!/bin/bash
echo "Name"
echo -n "Enter your name: "... (2 Replies)
I have doubts with the following command:
% find "$1" -name "*.html" -print0 | sort -zn | xargs -r -0 -n 1 sh -c 'echo "Dumping file: $2" >> "$1"; w3m "$2" >> "$1" 2>&1 ' sh "$2"
I have doubts in the input arguments value i.e. $0, $1, $2...
Step by step:
1.- % find "$1" -name "*.html"... (10 Replies)
Discussion started by: puertas12
10 Replies
LEARN ABOUT DEBIAN
libgii
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)