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
Tcl_AllowExceptions(3)					      Tcl Library Procedures					    Tcl_AllowExceptions(3)

__________________________________________________________________________________________________________________________________________________

NAME
Tcl_AllowExceptions - allow all exceptions in next script evaluation SYNOPSIS
#include <tcl.h> Tcl_AllowExceptions(interp) ARGUMENTS
Tcl_Interp *interp (in) Interpreter in which script will be evaluated. _________________________________________________________________ DESCRIPTION
If a script is evaluated at top-level (i.e. no other scripts are pending evaluation when the script is invoked), and if the script termi- nates with a completion code other than TCL_OK, TCL_ERROR or TCL_RETURN, then Tcl normally converts this into a TCL_ERROR return with an appropriate message. The particular script evaluation procedures of Tcl that act in the manner are Tcl_EvalObjEx, Tcl_EvalObjv, Tcl_Eval, Tcl_EvalEx, Tcl_GlobalEval, Tcl_GlobalEvalObj, Tcl_VarEval and Tcl_VarEvalVA. However, if Tcl_AllowExceptions is invoked immediately before calling one of those a procedures, then arbitrary completion codes are per- mitted from the script, and they are returned without modification. This is useful in cases where the caller can deal with exceptions such as TCL_BREAK or TCL_CONTINUE in a meaningful way. KEYWORDS
continue, break, exception, interpreter Tcl 7.4 Tcl_AllowExceptions(3)