Please help Moderators. Unix Masters.


 
Thread Tools Search this Thread
Contact Us Post Here to Contact Site Administrators and Moderators Please help Moderators. Unix Masters.
# 1  
Old 08-19-2006
Please help Moderators. Unix Masters.

Hi Vgersh,

I have a quick problem that needs to be solved as soon as possible. I am using a script written by Reborg for doing a file manipulation on files. The script is in the posted forum with title "Script not working as desired". It was working fine but I have a strange situation where the the records in the file are exceeding the length of asingle line and are going intp 2 to 3 lines. This one is creating problem as the script given by Reborg just counts every row as a record where as it has to correctly take the end of the record if it exceeds more than one line. The file is "|" delimited. I want to accomodate that in the script to correctly count the record. Please help me with this script.

Once again the script is in the thread "script not working as desired"

Please help Moderators.
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. What is on Your Mind?

Tiger Woods Wins His 15th Major Championship and his 5th Masters.

Amazing. Tiger Woods has won his 15th major championship and his 5th Masters, shaping and creating the best sports comeback story of our time. Congratulations Tiger!! Tiger's story should inspire everyone in the world to fight everyday of your life for what you love and what you believe in... (0 Replies)
Discussion started by: Neo
0 Replies

2. UNIX for Advanced & Expert Users

Help! SHELL or AWK script - only the masters of the forum will solve

Hello everybody! I have no experience with shell Programmer, but I need to compare 02 files. Txt and generate an output or a new file, after the comparisons. see: If the column 1 of file1 is equal to column 1 of file2, and column 3 of file2 contains the column 4 of file1, output: column1... (4 Replies)
Discussion started by: He2
4 Replies

3. UNIX for Dummies Questions & Answers

plz help deliverable unix masters

i have two requirement a file1 has field CNT=1000 i want to take count on file2 which can be like 2000 and replace in file1 so it becomes CNT=2000 a file1 has field TSTMP=2008-11-06-15.54.20.000000 i want to take the file creation date on file2 which can be like... (1 Reply)
Discussion started by: er_zeeshan05
1 Replies

4. Post Here to Contact Site Administrators and Moderators

about moderators..

sorry to ask this question(if u find difficulty): what you (unix.com moderators) will did and doing now? ie how u r selected as a "moderator" for unix.com and is unix.com is what ur full time job or it is ur part time job like that.. and is this forum is what the most popular... (5 Replies)
Discussion started by: sekar sundaram
5 Replies

5. UNIX for Dummies Questions & Answers

Unix masters please help newbie on "find" command

please help me figure out how to do this I wont lie, this is for a homework problem and I have searched on google for a long time and still can't figure out what to do. here is the problem So there's a folder let's say called "bare" in it, there are 10 dirs with names from "part1" through... (2 Replies)
Discussion started by: white_raven0
2 Replies
Login or Register to Ask a Question
ppmquantall(1)						      General Commands Manual						    ppmquantall(1)

NAME
ppmquantall - run ppmquant on a bunch of files all at once, so they share a common colormap SYNOPSIS
ppmquantall [-ext extension] ncolors ppmfile ... DESCRIPTION
Takes a bunch of portable pixmap as input. Chooses ncolors colors to best represent all of the images, maps the existing colors to the new ones, and overwrites the input files with the new quantized versions. If you don't want to overwrite your input files, use the -ext option. The output files are then named the same as the input files, plus a period and the extension text you specify. Verbose explanation: Let's say you've got a dozen pixmaps that you want to display on the screen all at the same time. Your screen can only display 256 different colors, but the pixmaps have a total of a thousand or so different colors. For a single pixmap you solve this problem with ppmquant; this script solves it for multiple pixmaps. All it does is concatenate them together into one big pixmap, run ppmquant on that, and then split it up into little pixmaps again. (Note that another way to solve this problem is to pre-select a set of colors and then use ppmquant's -map option to separately quantize each pixmap to that set.) SEE ALSO
ppmquant(1), ppm(5) BUGS
It's a csh script. Csh scripts are not portable to System V. Scripts in general are not portable to non-Unix environments. AUTHOR
Copyright (C) 1991 by Jef Poskanzer. 27 July 1990 ppmquantall(1)