12-01-2009
Please post a bigger part of the input file (including the problematic records you mentioned) and an example of the expected output.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file in the following format. Groups of data merge together and the group number is indicated above each group.
1
adrf
dfgr
dfg
2
dfgr
dfgr
3
dfef
dfr
fd
4
fgrt
fgr
fgg
5
fgrt
fgr (3 Replies)
Discussion started by: Lucky Ali
3 Replies
2. Solaris
Experts,
I know when I use id it shows only the primary group information for the given user, and that info comes from passwd file. When I use groups it shows all groups user are member of, however from where come information given by groups command?
grep fmtt3990 /etc/passwd... (6 Replies)
Discussion started by: fmattos
6 Replies
3. Shell Programming and Scripting
Hi All
I do have a file like this with 6 columns. Groups of data merge together and the group number is indicated above each group.
1
1 12 26 289 3.2e-027 GCGTATGGCGGC
2 12 26 215 6.7e+006 TTCCACCTTTTG
3 9 26 175 ... (1 Reply)
Discussion started by: Lucky Ali
1 Replies
4. Shell Programming and Scripting
Dear Friends,
I am facing 2 problems while writing a script
1) I have a flat file and I want to captur specific information from it.
Example
I have this string in the file
PACK: P42 77 UNPACK: MHTT DMK
I want to capture whatever is between word PACK: and word UNPACK: including... (8 Replies)
Discussion started by: anushree.a
8 Replies
5. Shell Programming and Scripting
I've this file and need to sort the data in each group
File would look like this ...
cat file1.txt
Reason : ABC
12345-0023
32123-5400
32442-5333
Reason : DEF
42523-3453
23345-3311
Reason : HIJ
454553-0001
I would like to sort each group on the last 4 fileds and print them... (11 Replies)
Discussion started by: prash184u
11 Replies
6. Shell Programming and Scripting
/etc/group
tiadm::345:mk789,po312,jo343,ju454,ko453,yx879,iy345,hn453
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
uucp::5:root
/etc/passwd
mk789:x:234:1::/export/home/dummy:/bin/sh
po312:x:234:1::/export/home/dummy:/bin/sh
ju454:x:234:1::/export/home/dummy:/bin/sh... (6 Replies)
Discussion started by: chidori
6 Replies
7. Red Hat
Hi,
We now have a Samba or Winbind issue. The Linux client under RHEL6 can not get Windows' AD sub-domain info. See the following output please. The main domain 'Global' is shown online, but the sub-domain 'Europe' and 'Asia' are shown offline although they are online.
Commands 'wbinfo -u' and... (0 Replies)
Discussion started by: aixlover
0 Replies
8. Programming
I'm trying to return only one row with the highest value for PCT_MAX_USED. Any suggestions?
When I add this code, I get the ORA-00937 error.
trunc(max(decode( kbytes_max, 0, 0, (kbytes_alloc/kbytes_max)*100))) pct_max_used
This is the original and returns all rows.
select (select... (3 Replies)
Discussion started by: progkcp
3 Replies
9. UNIX for Beginners Questions & Answers
Hi All,
i want to collect all the users info whose id greater than 999 and print the groups information which they belong.
example :
for user in $(cut -d: -f1,3 /etc/passwd | egrep ':{4}$' | cut -d: -f1); do groups $user; done
centos : centos adm wheel systemd-journal
balu : balu
... (2 Replies)
Discussion started by: balu1234
2 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)