Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Help me to read from both ziped and unziped files Post 302410632 by vgersh99 on Tuesday 6th of April 2010 12:19:07 PM
Old 04-06-2010
look into 'man gzcat'
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to read same line in 2 files

Hi there I have 2 files containing lines like this: d:/bla/bla/bla/bla.ext d:/bla/bla/bla/bla.ext d:/bla/bla/bla/bla.ext I need to read every line in one file and then get the same line from the other file. I think getting this will be enough for me to finish what im trying to do :) The... (1 Reply)
Discussion started by: RoadKill
1 Replies

2. Shell Programming and Scripting

How to read from two files

Hi This works almost as I wish, but not exatly: for i in `cat names.log`; do grep $i combined2.log | awk '{print $8}' | grep $i | sort -u | head -8 ;done This works with 8 lines for each pattern in names.log file. But i need to read number of lines from second file, say count.log. I've... (3 Replies)
Discussion started by: jos
3 Replies

3. Shell Programming and Scripting

how do I read from two files

Hi All, I would like to read the contents of two files using a loop but it doesn't seem to be working. Please have a look at the following script and help me resolve the problem. While read Rec, Rec1 do echo $Rec echo $Rec1 --- ---- --- done < file1, file2 I also tried this ... (8 Replies)
Discussion started by: tommy1
8 Replies

4. Shell Programming and Scripting

Script to get the latest ziped file and extract the files from it

We have zipped files on windows ftp server and need shell script to get the LATEST Date zipped file from the windows ftp server and extract the files from that zipped file into the unix server folder. any help will be appericiated. Thanks (1 Reply)
Discussion started by: gurpartap
1 Replies

5. UNIX for Advanced & Expert Users

read() wont allow me to read files larger than 2 gig (on a 64bit)

Hi the following c-code utilizing the 'read()' man 2 read method cant read in files larger that 2gig. Hi I've found a strange problem on ubuntu64bit, that limits the data you are allowed to allocate on a 64bit platform using the c function 'read()' The following program wont allow to allocate... (14 Replies)
Discussion started by: monkeyking
14 Replies

6. Shell Programming and Scripting

Read Files on the Fly

Hi, I am creating files in a folder on the fly with arbritrary names but same extension (say, ".img"). How can I read each filename from the folder through a script. regards Angshuman (2 Replies)
Discussion started by: angshuman_ag
2 Replies

7. Shell Programming and Scripting

read from different files

i have the following files with content file a content; 1234|wert| file b content; 2345|byte| file c content; 9999|kilo| i want to read the contents of three files seperately and for each of them select the first column and output below welcome 1234 welcome 2345 welcome... (6 Replies)
Discussion started by: tomjones
6 Replies

8. Shell Programming and Scripting

How to read log files from last read

Hi i am looking a way to look at a log file(log.txt) from the last time I've read it. However after some days the main log file(log.txt) is rename to (log.txt.1). So now i will have two log files as below. log.txt.1 log.txt Now, i have to read the log from the point where i have left... (3 Replies)
Discussion started by: sumitsks
3 Replies

9. Shell Programming and Scripting

While Read Two Files

I am trying to read two files in a while loop. It never runs, any thoughts would be most appreciated. cat /tmp/trueclients.lst | while read CLIENT cat /tmp/dates.lst | while read DATES while read CLIENT do while read DATES do /usr/openv/netbackup/bin/admincmd/bpimagelist -L... (2 Replies)
Discussion started by: JGM22
2 Replies

10. Shell Programming and Scripting

Read files in shell script code and run a C program on those files

HI, I am trying to implement a simple shell script program that does not make use of ls or find commands as they are quite expensive on very large sets of files. So, I am trying to generate the file list myself. What I am trying to do is this: 1. Generate a file name using shell script, for... (2 Replies)
Discussion started by: shoaibjameel123
2 Replies
ecppll(1)							Tntnet users guide							 ecppll(1)

NAME
ecppll - language-linker for ecpp SYNOPSIS
ecppll [-I dir] [-F] [-o output-filename] ecpp-filename [translated-data] DESCRIPTION
Ecppll is the language-linker for ecpp. This program combines the data of a ecpp-file with translated phrases from a source-file and gen- erates a data-file used by tntnet to look up translated data. The translated data file must contain the original phrase and the translated version separated by tab line by line. To generate a language file the generated files of all components of a component-library must be zipped. The resulting zip-file must have the same basename as the component-library and the language-code as the extension. Tntnet tries to find the langage library by first appending the value of the query parameter LANG to the name of the componentlibrary. If the file is not found, the environment-variable LANG is used. If that is neither found, the default data from the original component is used. OPTIONS
-F Fail on warning. If a phrase is not found in the language-data or in language-data is a phrase not used it the ecpp-file, ecppll warns about it to standard output. If this flag is set, ecppll returns a non-zero return-code. -I dir Search include-files in directory. This option can be passed multiple times. All specified directories are searched in turn for include-files. -o filename Specify output filename AUTHOR
This manual page was written by Tommi Makitalo <tommi@tntnet.org>. SEE ALSO
tntnet(1), ecpp(7), ecppl(1) Tntnet 2006-08-26 ecppll(1)
All times are GMT -4. The time now is 10:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy