11-29-2006
Still I am getting a problem with compiling
When I am using this command cc hello.c -o hello
ksh cc not found
where do I set up
10 More Discussions You Might Find Interesting
1. HP-UX
Hi!!,
my HP-UX - 10.2 compiler doesnt appear to support ANSI style of coding. On compiling my C code, it flags error messages like
error 1705: Function prototypes are an ANSI Feature
Is it a generic problem with the HP compiler or do I need to use some special switches on the command... (9 Replies)
Discussion started by: jyotipg
9 Replies
2. UNIX for Dummies Questions & Answers
:confused: Hi, does anyone here know how to compile and run C++ in UNIX environment? I am so desperate! Any help is greatly appreciated. Thanks! (3 Replies)
Discussion started by: Kahuashi
3 Replies
3. UNIX for Dummies Questions & Answers
i am a new user of unix
I saved an executable in fortran source code and now i have to compile this executable ( on unix). And i don't know to do it .what is the command?
thank you (2 Replies)
Discussion started by: mono
2 Replies
4. UNIX for Advanced & Expert Users
My question is: difference between unix and linux in terms of compiler, file system, ANSI
compliance, standard liabrary issues, threading issues, operating system
calls memory issues..ie whether these things wud cause problems while
porting a unix programme to linux.?
I think answer is depend... (1 Reply)
Discussion started by: prasoon
1 Replies
5. Shell Programming and Scripting
Does a unix compiler come standard on Darwin or do you have to DL one. What programing langauge do you write it in... I know on MS-Dos its a bash file that just uses dos commands, but I keep hearing C in this forum. how would I write and compile code for unix? just cat a new file, use unix... (0 Replies)
Discussion started by: Mars8082686
0 Replies
6. What is on Your Mind?
Hi All,
Can any one know about "Certification Programme for Unix Shell Scripting"?
How do I become Certified Unix shell scripting programmer? Where will I get this certification? How do I continue my career as a script programmer? What are the additional things to learn.
Currently I know... (14 Replies)
Discussion started by: ganapati
14 Replies
7. Shell Programming and Scripting
I am unable to compile the programs, I am able to compile .pc to .c but later part of the compilation from .c to executalbe i am unable to do.
Here is the way i am doing
make -f $LIB_LIB/makefile.templ sample
I am getting the following errors, which environment and where to set to point... (1 Reply)
Discussion started by: satvd
1 Replies
8. Programming
Hi All,
How to call the C programme in UNIX shell scripting?
please send me some sample script for the above scenario.
Regards,
MPS:b: (1 Reply)
Discussion started by: psiva_arul
1 Replies
9. UNIX for Dummies Questions & Answers
Hi there,
I have written the shell script to illustrate arithmetic operations using case command as shown below:
#!/bin/bash
echo -n "Enter any two numbers :"
read a
read b
MENU="
Select any one option
1) Addition
2) Substraction
3) Multiplication
4) Division
5) Quit"
clear
$x=0;... (5 Replies)
Discussion started by: grc
5 Replies
10. UNIX for Dummies Questions & Answers
Hi
Im using MobaXterm Unix on my windows XP.I want to compile java in unix.I have installed java to the following path C:\Program Files\Java\jdk1.7.0_09\bin
In order to compile the java prog im typing the following command after entering into the bin directory:
C:\Program... (2 Replies)
Discussion started by: ak3141
2 Replies
LEARN ABOUT DEBIAN
xmltv::validatefile
ValidateFile(3pm) User Contributed Perl Documentation ValidateFile(3pm)
NAME
XMLTV::ValidateFile - Validates an XMLTV file
DESCRIPTION
Utility library that validates that a file is correct according to http://wiki.xmltv.org/index.php/XMLTVFormat.
EXPORTED FUNCTIONS
All these functions are exported on demand.
LoadDtd
Load the xmltv dtd. Takes a single parameter which is the name of the xmltv dtd file.
LoadDtd must be called before ValidateFile can be called.
ValidateFile
Validate that a file is valid according to the XMLTV dtd and try to check that it contains valid information. ValidateFile takes a
filename as parameter and optionally also a day and an offset and prints error messages to STDERR.
ValidateFile returns a list of errors that it found with the file. Each error takes the form of a keyword:
ValidateFile checks the following:
notwell
The file is not well-formed XML.
notdtd
The file does not follow the XMLTV DTD.
unknownid
No channel-entry found for a channelid that is used in a programme-entry.
duplicatechannel
More than one channel-entry found for a channelid.
noprogrammes
No programme entries were found in the file.
channelnoprogramme
There are no programme entries for one of the channels listed with a channel-entry.
invalidid
An xmltvid does not look like a proper id, i.e. it does not match /^[-a-zA-Z0-9]+(.[-a-zA-Z0-9]+)+$/.
noid
A programme-entry without an id was found.
emptytitle
A programme entry with an empty or missing title was found.
emptydescription
A programme entry with an empty desc-element was found. The desc-element shall be omitted if there is no description.
badstart
A programme entry with an invalid start-time was found.
badstop
A programme entry with an invalid stop-time was found.
badepisode
A programme entry with an invalid episode number was found.
badiso8859
The file is encoded in iso-8859 but contains characters that have no meaning in iso-8859 (or are control characters). If it's
iso-8859-1 aka Latin 1 it might be some characters in windows-1252 encoding.
badutf8
The file is encoded in utf-8 but contains characters that look strange. 1) Mis-encoded single characters represented with
[EF][BF][BD] bytes 2) Mis-encoded single characters represented with [C3][AF][C2][BF][C2][BD] bytes 3) Mis-encoded single
characters in range [C2][80-9F]
If no errors are found, an empty list is returned.
BUGS
It is currently necessary to specify the path to the xmltv dtd-file. This should not be necessary.
COPYRIGHT
Copyright (C) 2006 Mattias Holmlund.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
perl v5.14.2 2011-06-22 ValidateFile(3pm)