10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello ,
I have a flat file ( comma separated ) and want to split dynamically .
If I provide input 3 then rows 1,4,7 will o/p to a file and rows 2,5,8 will redirect to 2nd file and 3,6,9 rows will go to 3rd file
So 3 files will be generated .
Could it be possible in Unix? (2 Replies)
Discussion started by: Pratik4891
2 Replies
2. Shell Programming and Scripting
Not sure how to do the following, but any help would be appreciated.
Has to be done using C shell (sorry about that).
I have about 300 files that I need this done for, but I am only going to give one example. I will just need to know how to execute your solution through some type of loop to get... (2 Replies)
Discussion started by: jclanc8
2 Replies
3. Shell Programming and Scripting
Hi Guru's,
I am new to shell scripting. I have a unique requirement:
The system generates a single pdf(/tmp/ABC.pdf) file with Invoices for Multiple Customers, the format is something like this:
Page1 >> Customer 1 >>Invoice1 + invoice 2 >> Page1 end
Page2 >> Customer 2 >>Invoice 3 + Invoice 4... (3 Replies)
Discussion started by: DIps
3 Replies
4. 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
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 have a bash challenge. I have several virtualization hosts for which I need to collect VM information. I need to dynamically create an array for each host. The contents of the array should be the list VMs running on the host. Here's the logic; I just need someone to help me with the details:... (0 Replies)
Discussion started by: EdgarTorres
0 Replies
10. Shell Programming and Scripting
Hi,
I have a requriement where in I need to install a s/w by executing the installable file through a script. The script currently contains the path of the installable file. I need to now update the script accordingly such tht it identifies the location of the installable file automatically and... (1 Reply)
Discussion started by: yoursdavinder
1 Replies