Sponsored Content
Full Discussion: New Member - First Question
Top Forums Shell Programming and Scripting New Member - First Question Post 302396869 by varefump on Friday 19th of February 2010 02:06:02 PM
Old 02-19-2010
Trying treesloth's approach using:
Code:

awk '{gsub("MSH","\nMSH",$0) ; gsub("PID","\nPID",$0) ; gsub("PV1","\nPV1",$0) ; gsub("OBX","\nOBX",$0) ; gsub("ORC",\nORC",$0) ; gsub("OBR","\nOBR",$0) ;
gsub("NTE","\nNTE",$0) ; print}' /care/misc/rad_report

I get the error message:
Code:

syntax error The source line is 1.
The error context is
{gsub("MSH","\nMSH",$0) ; gsub("PID","\nPID",$0) ; gsub("PV1","\
nPV1",$0) ; gsub("OBX","\nOBX",$0) ; >>> gsub("ORC",\ <<< nORC",$0) ; gsub("OBR
","\nOBR",$0) ; gsub("NTE","\nNTE",$0) ; print}
awk: The statement cannot be correctly parsed.
The source line is 1.

My version of PROGRESS is 8.3B

Any other suggestions?

---------- Post updated at 02:06 PM ---------- Previous update was at 01:49 PM ----------

I found the error in my previous code (missing ").

Now the error reads:

Code:

awk: Input line MSH|^~\&|HNAM|HNA|CL cannot be longer than 3,000 bytes.

Any other suggestions?
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

member titles

I must have missed it , but what do Junior Memeber/Member mean? is there a reference arounf for the significance of these titles ? Thanks, Hezki (3 Replies)
Discussion started by: me2unix
3 Replies

2. Solaris

new member

As a new member how do I go about asking question to the administrator and other users (1 Reply)
Discussion started by: malusims
1 Replies

3. Post Here to Contact Site Administrators and Moderators

Who is The First Member !!!

Hello Admins Just tell me who is the first member of this forum. Regards, Awadhesh (1 Reply)
Discussion started by: Awadhesh
1 Replies

4. UNIX for Dummies Questions & Answers

new member need help

brothers and sisters iam a new member of your respectful forum hope to accept me i really would like to an expert in unix and linux so please tell me how could ? and what i should have ? i want to make my project in these subject but i dont know what to do and which... (12 Replies)
Discussion started by: yemen
12 Replies

5. UNIX for Dummies Questions & Answers

New Member

HI Bruce from Central PA I have never used Unix but am sick of Microsoft so want to learn it. I use to own a computer store front and training center and stated our with Atari, Commodore and the 1st PC and MS/DOS then Windows BUT sick of Microsoft controlling the computer industry. ... (2 Replies)
Discussion started by: Brucec
2 Replies

6. What is on Your Mind?

new member

i am new member i hope here is good friends (1 Reply)
Discussion started by: annsoo
1 Replies

7. What is on Your Mind?

New member

Hi guys! My name is Leonida and I am new here to this forum. Nice meeting you all. (1 Reply)
Discussion started by: leeoona
1 Replies
SEQDIAG(1)						      General Commands Manual							SEQDIAG(1)

NAME
seqdiag - generate sequence-diagram image file from spec-text file. SYNOPSIS
seqdiag [options] file DESCRIPTION
This manual page documents briefly the seqdiag commands. seqdiag is generate sequence-diagram image file from spec-text file. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. --version show program's version number and exit -h, --help show this help message and exit -a, --antialias Pass diagram image to anti-alias filter -c FILE, --config=FILE read configurations from FILE -o FILE write diagram to FILE -f FONT, --font=FONT use FONT to draw diagram -T TYPE Output diagram as TYPE format SEE ALSO
The programs are documented fully by http://tk0miya.bitbucket.org/seqdiag/build/html/index.html AUTHOR
seqdiag was written by Takeshi Komiya <i.tkomiya@gmail.com> This manual page was written by Kouhei Maeda <mkouhei@palmtb.net>, for the Debian project (and may be used by others). May 21, 2011 SEQDIAG(1)
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy