Thanks a lot for posting the code. I apologise for your frustating experience with trying to understand the tables. I ran the code, however it throws an error:
'test1.sh: line 3: syntax error near unexpected token `do
'test1.sh: line 3: `do
also I forgot to mention that each of my files is in a subdirectory. So the directory hierarchy is as follows:
root_folder-->ABC-->ABC.txt
-->CDF-->CDF.txt
hello,
I will would be grateful if anyone can help me reply to my post
extract multiple cloumns from multiple files; skip rows and include filenames; awk
Please see this thread.
Thanks
manishabh (0 Replies)
Hi guys,
say I have a few files in a directory (58 text files or somthing)
each one contains mulitple strings that I wish to replace with other strings
so in these 58 files I'm looking for say the following strings:
JAM (replace with BUTTER)
BREAD (replace with CRACKER)
SCOOP (replace... (19 Replies)
Hi,
I'm using AWK to try to extract data from multiple files (*.txt). The script should look for a flag that occurs at a specific position in each file and it should return the data to the right of that flag.
I should end up with one line for each file, each containing 3 columns:... (8 Replies)
Hi,
I'd like to process multiple files. For example:
file1.txt
file2.txt
file3.txt
Each file contains several lines of data. I want to extract a piece of data and output it to a new file.
file1.txt ----> newfile1.txt
file2.txt ----> newfile2.txt
file3.txt ----> newfile3.txt
Here is... (3 Replies)
Hi,
I have a directory full of *.txt files. I would like to print the last line of every file to screen.
I know you can use FNR for printing the first line of each file, but how do I access the last line of each file?
This code doesn't work, it only prints the last line of the last file:BEGIN... (5 Replies)
Hi,
I have a directory /home/datasets/ which contains a bunch (720) of subdirectories called hour_1/ hour_2/ etc..etc.. in each of these there is a single text file called (hour_1.txt in hour_1/ , hour_2.txt for hour_2/ etc..etc..) and i would like to do some text processing in them.
Each of... (20 Replies)
I have an issue with some fortran include files.
I have the following src directory structure,
trunk/src/client_main
trunk/src/client_models
trunk/src/server
The make file is at trunk/makefile.
In /src/client_main there are some included dependencies,
COMMON.BLK
PARAM.DAT... (0 Replies)
I need to extract the data from oracle table and written the below code.
But it is not working.There is some problem with the query and output is shown is No rows selected" . If I run the same query from sql developer there is my required output.
And if I run the shell script with simple sql... (7 Replies)
Dear All,
I am trying to write a Unix Script which fires a sql query. The output of the sql query gives multiple rows. Each row should be saved in a separate Unix File.
The number of rows of sql output can be variable. I am able save all the rows in one file but in separate files.
Any... (14 Replies)
Hi,
Is there any way to do a cat * where it shows the name of each file in the process? Similar to what more does below?
$ more ?.sql
::::::::::::::
1.sql
::::::::::::::
set linesize 200
select db_unique_name,
cast(
from_tz(
cast(... (5 Replies)
Discussion started by: newbie_01
5 Replies
LEARN ABOUT DEBIAN
kuipc
KUIPC(1) General Commands Manual KUIPC(1)NAME
kuipc - the CERN KUIP compiler
SYNOPSIS
kuipc [ options ] [ inputfile [ outputfile ] ]
DESCRIPTION
kuipc, the Kit for a User Interface Package Compiler, is a tool to simplify the writing of a program's user interface code. It takes as
input a Command Definition File (CDF) that describes the commands to be understood by the program, and outputs C or FORTRAN code that makes
the appropriate function calls to set up the user interface. This code can then be compiled and linked with the rest of the program.
Since the generated code uses KUIP routines, the program must also be linked against the Packlib library that contains them.
If no output file is specified, kuipc will output generated code to a file whose name is the same as the input file's, with the ending
'.cdf' replaced by '.f' or '.c' as appropriate. If neither input nor output file are given, kuipc will prompt for them. Be careful
because kuipc overwrites existing files with no warning.
OPTIONS -c Generate C code.
-f Generate FORTRAN code (the default).
-split Output several files, one for each time the >Name control line is used in the CDF input. The names of the output files will corre-
spond to the arguments given on the >Name control lines.
SEE ALSO
The KUIP manual: http://wwwasdoc.web.cern.ch/wwwasdoc/psdir/kuip.ps.gz
BUGS
When the -split option is used, kuipc will still create an output file that it would have made if -split was not used; the file will be of
zero size.
AUTHOR
This manual page was written by Kevin McCarty <kmccarty@debian.org> for the Debian GNU/Linux system (but may be used by others).
April 2, 2004 KUIPC(1)