Try /usr/bin/strings

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

NO joy!

# cd /dbms
# ls -l master
-rwxrwxrwx   1 root     system     54683259 Nov 08 18:16 master
# string master > newmaster
ksh: string:  not found.
#

-----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





_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to