05-24-2009
hi methyl,
thankz for the reply,
please advice that a folder contains more than 100 files and each files contains 1000 records. All files have a (.txt) extension. Now please help me out from this prespective.
Thanks in advance.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
dd conv=ascii if=100.PCN of=foo
On paging the 'foo' file i get conversion of the selected file. How can I get multiple 100.PCN's into 1 'foo' file.
Usually all my work related files have an extension of .PCN or 001. Upon selecting if=*.* No ouput file is generated. (2 Replies)
Discussion started by: buRst
2 Replies
2. Shell Programming and Scripting
hi gurus ,,
I have multiple files with same file pattern..in a particular directory
for ex: file20061101.trf
file20061102.trf
file20061103.trf
Each of the file has a header as column names..
My questions is how can i eliminate the first row of each of these... (11 Replies)
Discussion started by: sish78
11 Replies
3. Shell Programming and Scripting
I have a string that I need to append to 3 files.
Say,
$ echo "Hello"
I want to append this “Hello” to three files, file1, file2 and file3.The files are all in different directories and the file names have no common pattern.Can I do it in one line? If yes, how? :confused: (2 Replies)
Discussion started by: zombiezparadize
2 Replies
4. Shell Programming and Scripting
Hopefully the title summarized what I need help with. I have multiple files that I would like to concatenate in bash.
ie:
cat file1 file2 file3 > bigfile
except I do not want to include the first line from each file (). Any help? Thanks. (6 Replies)
Discussion started by: sanimfj
6 Replies
5. UNIX for Dummies Questions & Answers
I have several files (around 50) that have the similar format. I need to extract the 5th line from every file and output that into a text file. So far, I have been able to figure out how to do it for a single file:
$ awk 'NR==5' text1.txt > results.txt
OR
$ sed -n '5p' text1.txt > results.txt... (6 Replies)
Discussion started by: oriqin
6 Replies
6. Shell Programming and Scripting
Hi,
I ran two crontab commands
using:
crontab program1
crontab program2
However when I type crontab -l only the second cron job shows up, how do I see all cron jobs running and how do I edit all at the same time
Thanks in Advance
S:D (10 Replies)
Discussion started by: walforum
10 Replies
7. Shell Programming and Scripting
I need to insert <filename + comma> into each line of multiple files.
Any idea how to script that?
Regards,
Manu (5 Replies)
Discussion started by: linux.yahoo
5 Replies
8. UNIX for Dummies Questions & Answers
Hi everyone,
I've a requirement to modify an existing line which is common to multiple files. I need to replace that existing line with a new line. I've almost 900 ksh files to edit in the similar fashion in the same directory.
Example:
Existing Line: . $HOME/.eff.env (notice the "." at the... (3 Replies)
Discussion started by: kaleem.adil
3 Replies
9. UNIX for Dummies Questions & Answers
HI All,
I want to know if it is possible to print the same message but into 2 different files in the same command?
Something like
.
..
...
echo "Text" >> file1 && file2
this is because i creating a script which i use a log but i don't want to duplicate lines of command just to... (5 Replies)
Discussion started by: lordseiya
5 Replies
10. Shell Programming and Scripting
I am looking for help in processing of those options: '-n' or '-p'
I understand what they do and how to use them.
But, I would like to use them with more than one file (and without any shell-loop; loading the 'perl' once.)
I did try it and -n works on 2 files.
Question is:
- is it possible to... (6 Replies)
Discussion started by: alex_5161
6 Replies
LEARN ABOUT DEBIAN
normal3d
NORMAL3D(1) General Commands Manual NORMAL3D(1)
NAME
normal3d - apply transformation matrix in Raster3D input file
SYNOPSIS
normal3d [options] < infile.r3d > normalized.r3d
DESCRIPTION
normal3d reads a Raster3D input file from stdin, applies any coordinate manipulations specified in the header, and writes the modified file
to stdout.
The output file from normal3d describes exactly the same image as the original input file. Header records are left unchanged except for the
transfomation matrix (which becomes the identity matrix) and the format specifiers (which are set to *). The -h flag suppresses all header
records in the output file. All objects in the input file are also in the output file, but their coordinate descriptions have been normal-
ized (i.e. the original transformation matrix has been applied).
OPTIONS
-ang AA
Only relevant for generating stereo pairs. By default stereo separation is created using a shear operator. The -ang option instead intro-
duces an angular separation by rotating the left and right eye images by +/- AA degrees with respect to the original view angle.
-expand
In-line and normalize all instances of file indirection in the input stream. This results in a single input file containing no file indi-
rection. The default is to simply copy file indirection lines (those begining with @) to the new input file without opening them or nor-
malizing their contents.
-h
Suppress header records in output. This option is useful for producing files which describe only part of a scene, and which are to be
later combined with descriptor files
-size HHHxVVV
Force the image size to HHH pixels horizontal and VVV pixels vertical.
-stereo [scratch]
This option causes the program to produce two additional files, left.r3d and right.r3d, that contain header records suitable for rendering
the normalized object desctiption file as a side-by-side stereo pair. This option always suppresses header records in the primary output
file. If a scratch directory name is given, it is prepended to give output files {scratch}_left.r3d and {scratch}_right.r3d
SOURCE
web URL:
http://www.bmsc.washington.edu/raster3d/raster3d.html
contact:
Ethan A Merritt
University of Washington, Seattle WA 98195
merritt@u.washington.edu
SEE ALSO
render(l), raster3d(l), stereo3d(l)
AUTHORS
Ethan A Merritt.
Raster3D 12 Dec 2010 NORMAL3D(1)