10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I have .html file and need to get the id value based on the latest modified date from the html file.
output : 1456.
Thanks in advance
Here is the .html file
<html>
<head><title>Index</title>
</head>
<body>
<h1> BI EI Team</h1>
<pre>ID Last modified ... (5 Replies)
Discussion started by: Kumar786
5 Replies
2. Shell Programming and Scripting
Hello gurus, Iam trying to parse following BibTex file (bibliography.bib):
@book{Lee2000a,
abstract = {Abstract goes here},
author = {Lee, Wenke and Stolfo, Salvatore J},
title = {{Data mining approaches for intrusion detection}},
year = {2000}
}
@article{Forrest1996,
abstract =... (0 Replies)
Discussion started by: wakatana
0 Replies
3. Shell Programming and Scripting
Hi all,
In ksh, I'm trying to loop through all of my arrays, named array1, array2, array3..., and update the indices. But I'm getting errors and I'm not sure how to fix them. The errors are
./parse.sh: 6+1: not found
The code is:
eval \${array$c}=$(eval \${array$c}+1 )
Any help... (12 Replies)
Discussion started by: nicksantos1
12 Replies
4. Programming
if i declare both but don't input any variables what values will the int array and file pointer array have on default, and if i want to reset any of the elements of both arrays to default, should i just set it to 0 or NULL or what? (1 Reply)
Discussion started by: omega666
1 Replies
5. Shell Programming and Scripting
Hi,
I have an html page like this:
<html>
<body>
<form action="test.php" method = "post">
Enter your name:<input name="search" type = "text" size ="40">
<br>
Enter your age:<input name="age" type = "text" size ="20">
<input type = "submit" name="submit" value="search">
<input type =... (1 Reply)
Discussion started by: vanitham
1 Replies
6. Shell Programming and Scripting
Hi,
I have two problems in which i have stuck up.
a) To move the files and copy back.
b) To create user dynamically.
Question 1:
I have to move the files to some other directory and copy it when all the process is done.
I have the code like this:
$file = "/home/data/file1.txt";... (2 Replies)
Discussion started by: vanitham
2 Replies
7. Shell Programming and Scripting
how can i CREATE a txt file dynamically in c shell:
for instance:
#! /bin/csh
for each i (*)
cat>file$i.txt
for each j
do .... (1 Reply)
Discussion started by: jdsignature88
1 Replies
8. Shell Programming and Scripting
Hi,
I have one file name file.txt
It has the following contents:
#File Contents
StartTime,EndTime,COUNTER1,COUNTER2,COUNTER3
12:13,12:14,0,1,0
The output should be like this:
StartTime: 12:13
ENDTIME: 12:14 (2 Replies)
Discussion started by: vanitham
2 Replies
9. Shell Programming and Scripting
I'm trying to write a script that generates a file of varying size filled with random text and am having some difficulties.
The major problems are that I'm limited to csh and a lot of the systems I have to run this on don't have a /dev/random (so a wrapper around the dd if=/dev/random or dd... (14 Replies)
Discussion started by: stareja
14 Replies
10. Web Development
PHP question...
I have an SQL query that's pulled back user IDs as a set of columns. Rather than IDs, I want to use their names.
So I have an array of columns $col with values 1,7,3,12 etc and I've got an array $person with values "Fred", "Bert", "Tom" etc
So what I want to do is display the... (3 Replies)
Discussion started by: JerryHone
3 Replies