12-15-2008
its ok
Its ok vidya, anyway I already got the solution. It was just a few lines of codes.
If you want I can post it for you, since you don't know the answer? Let me know if you are interested?!
By the way next time if you don't know an answer,don't waste your time replying.
reply only if you know the solution.
ok??
Bye. c you.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a text file with 50 munbers.
I wanna read these numbers and append "@yahoo.com" and send emails to them using shell scripting..........
How do i read the inetegres from the text file. (1 Reply)
Discussion started by: jaan
1 Replies
2. Shell Programming and Scripting
Guys,
I am trying to read text from a file, into arrays.
The format of the file is:
@DATABASE
femotest
@PACKAGE_SPECS
/usr/home/oracle92/sosa/scripts/test.pks
/usr/home/oracle92/sosa/scripts/rep.pks
@PACKAGE_BODIES
... (12 Replies)
Discussion started by: LiquidChild
12 Replies
3. Shell Programming and Scripting
Hi
Im MZ.... please help me with my requirements.....
Requirement: I have a text file named information.txt which contains information about Oracle Instances, I want to fetch data's from that text file and want to display an output using shell script.
Explanation : i.e. when I execute that... (0 Replies)
Discussion started by: user__user3110
0 Replies
4. UNIX for Dummies Questions & Answers
How can i have a while loop as follows
while read inputline
do
<task>
done < name_list
and also store the values (delimited) on each line to temp variables so as to print them on screen as follows
while read inputline
do
set name | cut -d "," -f1 name_list # #i know this is not... (1 Reply)
Discussion started by: bilal05
1 Replies
5. Shell Programming and Scripting
Hello,
I am having a tough time reading data from an input text file.
The input file has lines of data which is comma seperated. Each line represents a record/row, but unfortunately the data in the individual column/fields have spaces and `cat filename`is not returning entire line ( to read... (4 Replies)
Discussion started by: yajaykumar
4 Replies
6. UNIX for Dummies Questions & Answers
say i have a text file called "input.txt"
1 5
2 10
3 15
4 20
and say I wanted to read the row 3 from column 2 how would i go about it.
I guess I would use "awk" but I'm not sure how. (2 Replies)
Discussion started by: THM
2 Replies
7. Programming
hello all ,
im trying to read a text file and display its contents. While i got the code running and the output was displayed perfectly for sometime , i started getting Abort(core dump) error . Am i missing something here ? im using HP-UX.
#include <iostream.h>
#include <fstream.h>
#include... (1 Reply)
Discussion started by: vishy_85
1 Replies
8. Shell Programming and Scripting
I am having a text file
best = 100
genre = 75
group = 53
.
.
and so on
I need to read those values (100,75,53,...) from my shell script. I have to do the same function for all the variables. So in my script i used for loop to do the same.
for {
a=best
b=100
}
Video tutorial on... (3 Replies)
Discussion started by: kishorekumar87
3 Replies
9. UNIX for Dummies Questions & Answers
hi guys, i want help... Reding XML file and print the values into the text file using linux shell script file as per below xml file
<sequence>
<Filename>aldorzum.doc</Filename>
<DivisionCode>US</DivisionCode>
<ContentType>Template</ContentType>
<ProductCode>VIMZIM</ProductCode>
</sequence>... (4 Replies)
Discussion started by: sravanreddy
4 Replies
10. Programming
Hello Team,
I have 2 files.one contains english text and another contains Japanese. so i have to read english text and replace the text with Japanesh text in third file.
Basically, I need a help to write japanese language in text/xml file.I heard wstring does this.Not sure how do i write... (2 Replies)
Discussion started by: SA_Palani
2 Replies
SM(6) Games Manual SM(6)
NAME
sm - Displays a short text fullscreen
SYNOPSIS
sm [OPTIONS] [text|-]
DESCRIPTION
Screen Message will display a given multi-line message as large as possible, fullscreen and black on white. You can specify the text either
when launching sm, or edit it while the program is running.
After a short timeout, the text entry and the quit button will disappear, leaving nothing on the screen but the entered text. To continue
entering text, just start typing or (left-)click anywhere on the screen.
To clear the displayed text, press Escape.
To quit the program, press Ctrl-Q or press the button.
OPTIONS
[text] Text to display at start up. Defaults to ":-)". If "-" is passed to sm, it will read the text to display from stdin.
-f, --foreground=colordesc
Define a different color to use for the foreground of the text to display than black. The text string can be in any of the forms
accepted by XParseColor; these include name for a color from rgb.txt, such as DarkSlateGray, or a hex specification such as #3050b2
or #35b.
-b, --background=colordesc
Define a different color to use for the background of the text to display than white. For possible values, see above.
-n, --font=fontspec
Define a different font to use than the default sans-serif font of your system. The fontspec be the complete name for a truetype
font (like "DejaVu Sans" or "Bitstream Vera Serif") or just a short font family specification ("serif", "sans-serif").
-r, --rotate=rotation
Rotates the display by rotation*90 degrees counter-clock-wise. So -r 1 rotates the display to the left, and -r 2 puts it upside
down.
-- (Double dash) End option parsing. This is used to be able to actually hand over text that starts of with an dash.
-h, --help
This option will give you a short usage message summarizing the recognized options and quits.
-V, --version
This prints the project name together with its version number quits.
AUTHOR
This manual page was written by Joachim Breitner <mail@joachim-breitner.de> and updated by Gerfried Fuchs <rhonda@deb.at> to reflect addi-
tions for commandline option handling.
August 05, 2008 SM(6)