I am wondering how I can include external files in a perl script. I'm currently working on a website, and I'd like to put my menu items in a subroutine for example, and put that in another file such as menu.pl. That way, I can call the subroutine from each page (such as news.pl), and if I want to... (2 Replies)
Hi All,
When i am trying to include graphics.h ,dos.h and conio.h, its giving error as follows:
pgm.c:2:17: dos.h: No such file or directory
pgm.c:3:22: graphics.h: No such file or directory
pgm.c:4:19: conio.h: No such file or directory
Whereas stdio.h, stdlib.h and time.h gets... (3 Replies)
i have a file in which 3 values are stored like --4.72 4.42 3.86
what i wanna do is that take read each value and compare with a fixed value say 5 but cant do so as i am getting an error for the same.
please check the code
cat /home/nsadm/auto/Logging/uptime.txt| while read a b c
do
if... (2 Replies)
hi,
I have the following code in my Makefile.am that works fine for simple programs:
bin_PROGRAMS=test
test_SOURCES=test.cpp
so, when I run 'make test', it runs the following command:
g++ -o test test.cpp
however, when I tried to run a program that includes the QuantLib library, I have to... (12 Replies)
I have a tcsh script which I pass arguments to. I want to store all the arguments except for the options.
Currently I am using the line below, however I want to also exclude and variation of them (e.g. whether any letter is uppercase or lower case)
Is there a neat way to do it?
set... (0 Replies)
My department uses an outlook mail merge to send login information to multiple users who request access. I would like to use sendmail for obvious reasons. I copied a sample email source, with all the disgusting html formatting from outlook, and can successfully send emails almost exactly as I did... (0 Replies)
Hi am using aix ...
I have tried so far but am getting unknown test operator error
for example i have three files in one dir ...
A2008
A2408
A2808
final output results should be A0108 is missing
---
A1908 is missing
A2108 is missing
.....
#! /bin/ksh
i=`ls A* |cut -c2-3`
j=`date... (3 Replies)
Hello to all,
Maybe someone could help me, my question is:
How can a filter the print of command ls for the files with names of the form "abc*.txt" including the path?
I've done this:
If I move with command cd to /My/Path/Is/This/ and send this command:
ls -lst abc*.txt -i... (37 Replies)
Hi All,
Please find the code below where I want to add the variable value in between the XML tags. I am taking one string and my goal is to put them between the xml tags. Ex : in between <name> , <lname>
Kindly suggest a correction because while executing this script I am getting and... (8 Replies)