Sponsored Content
Full Discussion: Reading text from a file
Top Forums Shell Programming and Scripting Reading text from a file Post 302116910 by LiquidChild on Wednesday 9th of May 2007 08:52:11 AM
Old 05-09-2007
Aigles

Could you explain this section a little further?

*) eval ${entry}[\${#${entry}[*]}]='$record' ;;

and tbh the second line i am kinda lost with.

-- Edit, figured the first line out, i think!

Actually think i have figured them both out, thanks!

Last edited by LiquidChild; 05-09-2007 at 10:01 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

reading text file

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

Reading from Text file.....

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

3. UNIX for Dummies Questions & Answers

Help with reading text file

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

4. Shell Programming and Scripting

Help with Reading Text from file

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

5. Programming

reading a text file in c++

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

6. Shell Programming and Scripting

Reading a value from another text file

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

7. Shell Programming and Scripting

Reading the text file for particular format

Hi All, Need your help!! I have particular host file with below format: 172.34.45.67 Host1 Host2 134.45.56.67 Host3 Host4 Host5 I need shell script snippet which read this file and change the format of the file to the below format 172.34.45.67 Host1 172.34.45.67 ... (9 Replies)
Discussion started by: sharsour
9 Replies

8. Shell Programming and Scripting

Reading colums from a text file

Hi all, I have a text file that has (4) columns. There are about 300 lines on this file. It is a plain text file. I am looking to write a simple script that will read each line from the file and generate another text file. The file looks something like this: These are the columns: ... (4 Replies)
Discussion started by: adamw
4 Replies

9. UNIX for Dummies Questions & Answers

Reading Xml file and print the values into the text file in columnwise?

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

How to write in other language in text/xml file by reading english text/xml file using C++?

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
Irssi(1)						      General Commands Manual							  Irssi(1)

NAME
Irssi - a modular IRC client for UNIX SYNOPSIS
irssi [-dv!?] [-c server] [-p port] [-n nickname] [-w password] [-h hostname] DESCRIPTION
Irssi is a modular Internet Relay Chat client. It is highly extensible and very secure. Being a fullscreen, termcap based client with many features, Irssi is easily extensible through scripts and modules. OPTIONS
--config=FILE use FILE instead of ~/.irssi/config. --home=PATH PATH specifies the home directory of Irssi. Default is ~/.irssi -c, --connect=SERVER connects to SERVER -w, --password=PASSWORD use PASSWORD for authentication. -p, --port=PORT automatically connect to PORT on server. -!, --noconnect disables autoconnecting. -n, --nick=NICKNAME specify NICKNAME as your nick. -h, --hostname=HOSTNAME use HOSTNAME for your irc session. -d, --dummy use dummy terminal mode. -v, --version display the version of Irssi. -?, --help show a help message. --usage display brief usage message. SEE ALSO
Irssi has been supplied with a huge amount of documentation. Check /help or look at the files contained by /usr/share/doc/irssi* FILES
/etc/irssi.conf Global configuration file ~/.irssi/config Personal configuration file ~/.irssi/config.autosave Automatic save of the personal config file when it was changed externally ~/.irssi/default.theme Default irssi theme ~/.irssi/away.log Logged messages in away status /usr/share/irssi/help/ Directory including many help files /usr/share/irssi/scripts/ Global scripts directory /usr/share/irssi/themes/ Global themes directory ~/.irssi/scripts/ Default scripts directory ~/.irssi/scripts/autorun/ Directory containing links to scripts that should be loaded automatically on startup ~/.irssi/startup File containing a list of commands to execute on startup AUTHORS
/CREDITS Irssi was written by Timo Sirainen <cras@irssi.org> This manpage was written by Istvan Sebestyen <stevee@alphanet.ch> and Stefan Tomanek <stefan@pico.ruhr.de> Irssi IRC client September 2002 Irssi(1)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy