08-10-2010
- Please use a more descriptive subject text. "Need clarification" won't tell anybody whether or not they can help you, or even what it's about
- Please be careful with your formatting. For listings, there are [CODE][/CODE] tags. For everything else it isn't necessary to apply the format to each consecutive line separately.
- Please describe what your program should do, what it does, and how it differs from the expected behaviour, instead of posting 2 listings and a screenshot. Most people don't own working crystal balls, and might discard your question without thinking about it. (See this).
This User Gave Thanks to pludi For This Post:
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am using Korn Shell HP UNIX and i am writing my scripts with filename extension as ksh or sh ..
I want to know what is the difference if i am giving ksh and sh
Other thing when we execute the shell script either we make it as executable and run directly else we give '.' or 'sh'... (2 Replies)
Discussion started by: ravi.sadani19
2 Replies
2. Shell Programming and Scripting
Hi ,
I need your help to know the exact operation of this following code ..
cat file1 | ux2dos | tr -d ''>>file2
file1 contains only one line : "DTS-PO\SPECTRUM WO 56"
the data contains a META CHAR "\" .. look at the above line.
But , The file2 output contains :... (7 Replies)
Discussion started by: vparunkumar
7 Replies
3. Shell Programming and Scripting
I just now read the doc in https://www.unix.com/tips-tutorials/35535-understanding-unix-timekeeping.html
Need clarification that half of the files in any directory is shown in below pattern in which time stamp pattern is highlighted
And half of the files are shown in different pattern... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies
4. Web Development
:confused:
Hi All,
i am new to unix....so i am not sure whether i am asking the related question with our forum..
My question .....Can anyone explain me about the CGI script
is it something related to Unix or Linux or some other language.
Thanks in advance
Sha (1 Reply)
Discussion started by: Shahul
1 Replies
5. AIX
Hi, I have a file which contains below info :
$ cat test_file
kenny
denny
kite
I want to get all th file names which starts with k. Hence i used below command but the result was not up to the mark :
$ grep 'k*' test_file
kenny
denny
kite
Can someone please explain me why this is... (1 Reply)
Discussion started by: merajh
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am creating two shell scripts for Database backup and the output has to be routed to nohup.out file.
We will also be running the scripts in the background as
nohup.out <script_name> &
Do I manually need to create a nohup.out file in the directory from where the scripts are going... (1 Reply)
Discussion started by: narayanv
1 Replies
7. Shell Programming and Scripting
crw-rw-rw- 1 root root 1, 5 May 6 1998 /dev/zero
brw----rw- 1 root floppy 2, 28 May 6 1998 /dev/fd0H1440
In the above permission what is above C and B indicates?
Thanks (1 Reply)
Discussion started by: thelakbe
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I have a file cleanlogs_imgp01_files which has the contents as follows,
cold_log|/opt/elf/cold_spool
get_orion_log|/opt/elf/logs
get_coldFiles_log|/opt/elf/logs
get_coldFiles_TuesToSat_log|/opt/elf/logs
get_coldFiles_MonToSat_log|/opt/elf/logs
And when i execute this, I get the... (1 Reply)
Discussion started by: DevM
1 Replies
9. HP-UX
Hi,
I want to use the "SU" command in script it is asking me to enter the password manually.
pleas the say the syntax of su command in single line that includes username/password. :) (3 Replies)
Discussion started by: vigneshwaran007
3 Replies
LEARN ABOUT DEBIAN
tv_grab_pt_meo
TV_GRAB_PT_MEO(1p) User Contributed Perl Documentation TV_GRAB_PT_MEO(1p)
NAME
tv_grab_pt_meo - Grab TV listings for MEO from SAPO in Portugal.
SYNOPSIS
tv_grab_pt_meo --help
tv_grab_pt_meo --configure [--config-file FILE] [--root-url URL]
tv_grab_pt_meo [--config-file FILE] [--root-url URL]
[--days N] [--offset N] [--channel xmltvid,xmltvid,...]
[--output FILE] [--quiet] [--debug]
tv_grab_pt_meo --list-channels [--config-file FILE] [--root-url URL]
[--output FILE] [--quiet] [--debug]
DESCRIPTION
Output TV and listings in XMLTV format for many stations available in Portugal. This program consumes the EPG service offering from SAPO at
<http://services.sapo.pt/Metadata/Service/EPG?culture=EN>. See <http://seguranca.sapo.pt/termosdeutilizacao/apis_rss_webservices.html> for
their terms of service. (automatic translation suggests it's free for personal use, verfication appreciated)
First you must run tv_grab_pt_meo --configure to choose which stations you want to receive.
Then running tv_grab_pt_meo with no arguments will get a listings for the stations you chose for all available days including today.
OPTIONS
--configure Prompt for which stations to download and write the configuration file.
--config-file FILE Set the name of the configuration file, the default is ~/.xmltv/tv_grab_pt_meo.conf. This is the file written by
--configure and read when grabbing.
--output FILE When grabbing, write output to FILE rather than standard output.
--days N When grabbing, grab N days rather than everything available.
--offset N Start grabbing at today + N days.
--quiet Only print error-messages on STDERR.
--debug Provide more information on progress to stderr to help in debugging.
--list-channels Output a list of all channels that data is available
for. The list is in xmltv-format.
--capabilities Show which capabilities the grabber supports. For more information, see <http://wiki.xmltv.org/index.php/XmltvCapabilities>
--version Show the version of the grabber.
--help Print a help message and exit.
ERROR HANDLING
If the grabber fails to download data from webstep, it will print an errormessage to STDERR and then exit with a status code of 1 to
indicate that the data is missing.
ENVIRONMENT VARIABLES
The environment variable HOME can be set to change where configuration files are stored. All configuration is stored in $HOME/.xmltv/. On
Windows, it might be necessary to set HOME to a path without spaces in it.
CREDITS
Grabber written by Karl Dietz, dekarl -at- users -dot- sourceforge -dot- net as a test of the documentation on grabber writing. This
documentation copied from tv_grab_cz by Mattias Holmlund, This documentation copied from tv_grab_uk by Ed Avis, ed -at- membled -dot- com.
Original grabber by Jiri Kaderavek, jiri -dot- kaderavek -at- webstep -dot- net with modifications by Petr Stehlik, pstehlik -at- sophics
-dot- cz.
Data provided via web service from SAPO accompanying their MEO TV service. Check their terms of usage!
BUGS
None known.
perl v5.14.2 2011-10-26 TV_GRAB_PT_MEO(1p)