You could try converting the "^M" (carriage return) into a linefeed using the 
command:

cat master | tr \r \n | new.master


And "cat"ing the file might not be a true indication of your ability to open 
and read the file within UV/UD.
The vt100 view indicates that the content is legible. The vt220 emulation is 
corrupting the *view* of the content and is not a true reflection of the 
contents.

Converting the carriage return to a linefeed will make the file more usable in 
unix.

Gregor

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Roy Beard
Sent: Wednesday, 10 November 2010 9:27 AM
To: 'U2 Users List'
Subject: Re: [U2] Reading a Unix file from another machine.

# cat master | more


°³üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°µüªü·¶
üªü
ü ü ü ü ü ü ü M-^M°¶üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°·üªü·¶ üªüªü ü ü ü ü ü
ü üM
° üªü·¶ üªüªü ü ü ü ü ü ü ü ü M-^M°¹üªü·¶ üªüªü ü ü ü ü ü ü ü ü
M-^M°³üªüÌDz°²Íü
°°± ³°ü                ü ü ü ü ü ü ü M-^M° üªüÌDz°²Íüªüªü°°± ³°ü
ü ü ü ü ü ü M-^M°µüªüÌDz°²Íüªüªü°°± ³°ü                ü ü ü ü ü ü ü
M-^M°¶üªüÌÍ
üªüªü°°± ³°ü                ü ü ü ü ü ü ü M-^M°·üªüÌDz°²Íüªüªü°°± ³°ü
   ü ü ü ü ü ü ü M-^M° üªüÌDz°²Íüªüªü°°± ³°ü                ü ü ü ü ü ü ü
M-^M°Ì
Dz°²Íüªüªü°°± ³°ü                ü ü ü ü ü ü ü M-^M° üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹
ü ü
 ü ü ü ü ü M-^M°¹üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°³üªüÔdz³³
ÚÕÒÎüªü±
 ¹ ü ü ü ü ü ü ü ü M-^M° üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü
M-^M°µüªüÔdz³³Î
üªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°¶üªüÔdz³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü
M-^M°·Ç
³³³ ÚÕÒÎüªüªü°°± ¹ ü ü ü ü ü ü ü ü M-^M°±ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒüÎÏÎ ÉÎÖÅÎÔÏÒÙ
ÉÔÅÍü
 ü ü ü ü ü ü ü ü M-^M°²ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒüÎÏÎ ÉÎÖÅÎÔÏÒÙ ÉÔÅÍü ü ü ü ü ü ü ü
ü
M-^M°±ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒü ÒÅÍÉÅÒ ÆÁÕÃÅÔÓüËÏÈÌÅÒ ÃÁÔ  ÈÅÁÄÅÒü°°±³µ°ü ü ü ü ü
ü ü
 M-^M°²ü±ü ËÏÈÌÅÒ±  ÒÅÍÉÅÒü ÒÅÍÉÅÒ ÆÁÕÃÅÔÓüËÏÈÌÅÒ ÃÁÔ  ÈÅÁÄÅÒü°°±³µ°ü ü ü ü
ü ü

********************************   As vt100       ************************

# cat master | more

03|*|764|*|*| | | | | | | | | M-^M08|*|764|*|*| | | | | | | | |
M-^M05|*|764|*|
| | | | | | | M-^M06|*|764|*|*| | | | | | | | | M-^M07|*|764|*|*| | | | | |
| |M
04|*|764|*|*| | | | | | | | | M-^M09|*|764|*|*| | | | | | | | |
M-^M03|*|LG202M|
001430|                | | | | | | | M-^M08|*|LG202M|*|*|001430|
| | | | | | M-^M05|*|LG202M|*|*|001430|                | | | | | | |
M-^M06|*|LM
|*|*|001430|                | | | | | | | M-^M07|*|LG202M|*|*|001430|
   | | | | | | | M-^M04|*|LG202M|*|*|001430|                | | | | | | |
M-^M0L
G202M|*|*|001430|                | | | | | | |
M-^M04|*|TG333-ZURN|*|*|001894| |
 | | | | | M-^M09|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M03|*|TG333-ZURN|*|1
894| | | | | | | | M-^M08|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M05|*|TG333N
|*|*|001894| | | | | | | | M-^M06|*|TG333-ZURN|*|*|001894| | | | | | | |
M-^M07G
333-ZURN|*|*|001894| | | | | | | | M-^M01|1| KOHLER1 PREMIER|NON INVENTORY

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dan Goble
Sent: Tuesday, November 09, 2010 5:09 PM
To: 'u2-users@listserver.u2ug.org'
Subject: Re: [U2] Reading a Unix file from another machine.

Try using at the unix command line

String filename > newfilenamer

This will strip out all control characters

----- Original Message -----
From: Roy Beard [mailto:r...@cfl.rr.com]
Sent: Tuesday, November 09, 2010 05:05 PM
To: 'U2 Users List' <u2-users@listserver.u2ug.org>
Subject: [U2] Reading a Unix file from another machine.

Hi all,



I am trying to read a Unix file from and old aix machine.  The people who
sent it will not bend in how they sent it.

What I got was in binary format so I used 'od' to convert it to ascii.  When
I tried to cat the file before trying to READSEQ records it looked like
gibberish!

I realized that if I set my Term type to vt100, I could read it but the
carriage returns were just ^M after each record.  After trying 'sed' I gave
up.



Universe will not read the file at all.  I still get gibberish even on the
converted file.



Any ideas?  There must be a way to do this.  What am I missing?



Thanks,



Roy

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
--
Message  protected by DealerGuard: e-mail anti-virus, anti-spam and content 
filtering.
http://www.pentanasolutions.com

Click here to report this message as spam:
https://login.mailguard.com.au/report/1B4vNP9s6S/4ebGoJHMofhf2Tjg3O0ZOv/0.6


This email and any attachments to it are confidential.
You must not use, disclose or act on the email if you are not the intended
recipient.  Liability limited by a scheme approved under Professional
Standards Legislation.
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to