10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi buddies;
i have a very strange problem. i made a script composed of just 5 line. it is containing awk and nawk codes and it is working perfectly when it is applied one-by-one (copy & paste).
but when i type run myscript.mos, it is giving:
nawk: syntax error at source line 1
context is... (5 Replies)
Discussion started by: gc_sw
5 Replies
2. Programming
for a floating-point array x whose size is n, find the geometric mean..
GM =n x1.x2.x3...xn (2 Replies)
Discussion started by: allyjaah
2 Replies
3. Programming
hello,
For school i make the next mission:
give how many chambers in a constant number. use an array which chamber is free and count how many chamber there are free. make also something to test
I don't now how to start. I need an well example so i can make the mission
thank you (1 Reply)
Discussion started by: wouter88
1 Replies
4. Shell Programming and Scripting
Is there a way you can return a value from a script that is called from a rm cobol program...
01 WS-COMD-LINE-PGM X(39) value sh ./getUserId.sh 12345"
01 WS-RETURN-SYS-CODE PIC 9(8).
CALL "SYSTEM" USING WS-COMD-LINE-PGM
GIVING WS-RETURN-SYS-CODE.
... (1 Reply)
Discussion started by: pavanmp
1 Replies
5. Programming
hello every one
i am working on a project to lock remote computer resources(hard drive, usb, cd- rom, folder etc). i have maintained connection using JAVA RMI and using JAVA JNI to lock resources, now i am really stuck up with C programme to do actual locking, i am using RHL-5 on admin computer... (7 Replies)
Discussion started by: zius_oram
7 Replies
6. Programming
can i run .crn programme in express cobol which support to .gnt programme .... Plz tell me solution (2 Replies)
Discussion started by: bibi
2 Replies
7. Shell Programming and Scripting
Hi Guyz
can u tell me how to write a programme in perl using snmpget.
Regards'
Harrr (0 Replies)
Discussion started by: Harikrishna
0 Replies
8. Programming
Dear Friends,
I ve two text files like
re_im.dat
13.7663000000 5.9572200000
10.2682000000 10.9345000000
5.0810700000 14.1132000000
two real values per row
Sarf.dat
127 128 128 128 71 0
128 128 128 128 71 0
128 128 128 128 71 0
This is having 6... (2 Replies)
Discussion started by: user_prady
2 Replies
9. Shell Programming and Scripting
hi
i am having a c code which gives the output of my password in text format
i.e when i run my c code which which gives the password asfollows====>>>>>>
$./passwdprogram ======>>>>>>abc@123(this is the output)
now i have an expect script to remotely ssh which uses the password set in ... (0 Replies)
Discussion started by: xander
0 Replies
10. UNIX for Dummies Questions & Answers
Hi,
My name is vreddy and I am learning c language now and written one programme on vi editor.
how do I compile the programme please give me some advice and that would be helpfull for me.
thanks
vre (10 Replies)
Discussion started by: vasudeva
10 Replies
TV_GRAB_FI(1p) User Contributed Perl Documentation TV_GRAB_FI(1p)
NAME
tv_grab_fi - Grab TV listings for Finland
SYNOPSIS
tv_grab_fi [--cache <FILE>]
[--config-file <FILE>]
[--days <N>]
[--gui [<OPTION>]]
[--offset <N>]
[--output <FILE>]
[--quiet]
tv_grab_fi --capabilities
tv_grab_fi --configure
[--cache <FILE>]
[--config-file <FILE>]
[--gui [<OPTION>]]
[--quiet]
tv_grab_fi --description
tv_grab_fi --help|-h|-?
tv_grab_fi --list-channels
[--cache <FILE>]
[--gui [<OPTION>]]
[--quiet]
tv_grab_fi --version
DESCRIPTION
Grab TV listings for several channels available in Finland. The data comes from various sources, e.g. www.telkku.com. The grabber relies on
parsing HTML, so it might stop working when the web page layout is changed.
You need to run "tv_grab_fi --configure" first to create the channel configuration for your setup. Subsequently runs of "tv_grab_fi" will
grab the latest data, process them and produce XML data on the standard output.
COMMANDS
NONE Grab mode.
--capabilities
Show the capabilities this grabber supports. See also <http://wiki.xmltv.org/index.php/XmltvCapabilities>.
--configure
Generate the configuration file by asking the users which channels to grab.
--description
Print the description for this grabber.
--help|-h|-?
Show this help page.
--list-channels
Fetch all available channels from the various sources and write them to the standard output.
--version
Show the version of this grabber.
GENERIC OPTIONS
--cache FILE
File name to cache the fetched HTML data in. This speeds up subsequent runs using the same data.
--gui [OPTION]
Enable the graphical user interface. If you don't specify OPTION then XMLTV will automatically choose the best available GUI.
Allowed values are:
Term
Terminal output with a progress bar
TermNoProgressBar
Terminal output without progress bar
Tk Tk-based GUI
--quiet Suppress any progress messages to the standard output.
CONFIGURE MODE OPTIONS
--config-file FILE
File name to write the configuration to.
Default is $HOME/.xmltv/tv_grab_fi.conf.
GRAB MODE OPTIONS
--config-file FILE
File name to read the configuration from.
Default is $HOME/.xmltv/tv_grab_fi.conf.
--days "N"
Grab "N" days of TV data.
Default is 14 days.
--offset "N"
Grab TV data starting at "N" days in the future.
Default is 0, i.e. today.
--output FILE
Write the XML data to FILE instead of the standard output.
CONFIGURATION FILE SYNTAX
The configuration file is line oriented, each line can contain one command. Empty lines and everything after the "#" comment character is
ignored. Supported commands are:
channel ID NAME
Grab information for this channel. "ID" depends on the source, "NAME" is ignored and forwarded as is to the XMLTV output file. This
information can be automatically generated using the grabber in the configuration mode.
series description NAME
If a programme title matches "NAME" then the first sentence of the description, i.e. everything up to the first period ("."),
question mark ("?") or exclamation mark ("!"), is removed from the description and is used as the name of the episode.
series title NAME
If a programme title contains a colon (":") then the grabber checks if the left-hand side of the colon matches "NAME". If it does
then the left-hand side is used as programme title and the right-hand side as the name of the episode.
title map "FROM" 'TO'
If the programme title starts with the string "FROM" then replace this part with the string "TO". The strings must be enclosed in
single quotes ("'") or double quotes ("""). The title mapping occurs before the "series" command processing.
title strip parental level
At the beginning of 2012 some programme descriptions started to include parental levels at the end of the title, e.g. "(S)". With
this command all parental levels will be removed from the titles automatically. This removal occurs before the title mapping.
SEE ALSO
xmltv.
AUTHORS
Current
Stefan Becker "stefan dot becker at nokia dot com"
Ville Ahonen "ville dot ahonen at iki dot fi"
Retired
Matti Airas
BUGS
The channels are identified by channel number rather than the RFC2838 form recommended by the XMLTV DTD.
perl v5.14.2 2012-06-30 TV_GRAB_FI(1p)