10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a text file in this format
Some lines....
Question no: 1
The question?
A. Answer 1
B. Answer 2
C. Answer 3
D. Answer 4
Answer:B
Some lines....
Question no: 2
The question? (choose 2) (10 Replies)
Discussion started by: zorrox
10 Replies
2. Web Development
I am just getting into web development and I want to understand it better and more theoretically. :D
So by now I can create some basic websites with html, css, php, etc, but what I do not understand is how is this then projected into the world wide web or what we call the internet??? Of course... (2 Replies)
Discussion started by: vas28r13
2 Replies
3. Shell Programming and Scripting
I have a file like this. Pls help me to solve this.
08-24-2010 10:22:34,xxxxxxxxMessage : 111
08-24-2010 10:24:38,xxxxxxxbMessage : 000
08-24-2010 11:28:11,xxxxxxxcMessage : 111
08-24-2010 11:32:35,xxxxxxxdMessage : 111
08-24-2010 11:32:35,xxxxxxxeMessage : 111
(I should look for Message... (1 Reply)
Discussion started by: mnjx
1 Replies
4. Shell Programming and Scripting
Hello.
I am a beginner and I need to create a script that goes:
There are several library where there are compressed files. I have to decompress all files that start with 'XA%' and retrieve all rows that contain 'CSSF' and copy this to a file.
Can anyone help me? Thank you in advance :) (5 Replies)
Discussion started by: papou5480
5 Replies
5. Shell Programming and Scripting
First off, I am using Mac OS X, with Apple Remote Desktop.
I have to install several app's on teachers' laptops which are on several cd's that I have made disk images of. (DMG's)
To do rollouts quicker, I have written a script to mount the disk images and running the installers inside each of... (4 Replies)
Discussion started by: The Reepr
4 Replies
6. Shell Programming and Scripting
Hi,
I have a question regarding Korn shell script execution in HP-UX 11.11.
What sort of environmental settings do I need to run a Korn shell script such as below without entering "./" at the begining of the command?
cat test.ksh
date
I am able to do this with a user called infodba who... (6 Replies)
Discussion started by: stevefox
6 Replies
7. Shell Programming and Scripting
Q1>How do i read and write to file in shell script. Here is what i want let's assume the filename as "file1"
Read file1
Check the content of file1 which can be either "0" or "1"
if(content == 0)
{
execute a command
}
flush file1(remove all contents in it)
write "1" in to... (5 Replies)
Discussion started by: perk_bud
5 Replies
8. Shell Programming and Scripting
1. Can anyone explain me what the line
x=signal(SIGINT,nh);
does?
2. How do I write a command to print the longest line in a file?
3. How do I write a command to print the last word of every line of a file using sed?
4. What exactly does this line do?
:%s/^\(\)\(\)/\2\1/g^M... (3 Replies)
Discussion started by: Necrologist
3 Replies
9. Programming
long double p;
long double q;
how could i find and store the sum of p & q ? where p and q might have their maximum value.
i hope, i'd get a lot of solutions. :)
-sham (4 Replies)
Discussion started by: shamal
4 Replies
10. UNIX for Dummies Questions & Answers
did a search but was not allowed to use 'ftp' because its too short of a word.
for some reason, i can't seem to remember anything about ftp shell scripts - would someone please refresh my memory on the syntax and maybe give a short example? thanks for the time. (5 Replies)
Discussion started by: psyjoniz
5 Replies