Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 374
  • Last Modified:

Trying to determine what the codes in a text file mean on UNIX

Hi all-

I'm looking at a series of UNIX files that contain sequences such as:

\\12PI
\MRLo\
.1532.LEC.

They're flat text and appear to be some kind of report.  I'm trying to determine what source type (i.e. LaTeX, groff, etc.) they might be?

Thanks in advance for any input.
0
noirfan
Asked:
noirfan
  • 2
  • 2
  • 2
  • +1
1 Solution
 
arnoldCommented:
Is this an old file, or does it get updated regularly.

Try cat -v filename
To see whether there are any control..

It is difficult based on very small data set to determine.
0
 
noirfanAuthor Commented:
@arnold: These are old files - dates around 2001/2000.  cat -v produces the same output as I'm seeing in vi.  Here's the full string from the top of the file (before the text body begins):

\TM00\\12PI\\DRAo\\BM09\
\MRLo\
0
 
serialbandCommented:
You can try the file command to see if it will give you the filetype.

file filename

You can also try to view the printable strings

strings filename
0
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 
Gerwin Jansen, EE MVETopic Advisor Commented:
Do these files have an extension? If so: what is it?

Can you find references on your system of something that actually uses these files? Like <program name> <one of your UNIX files>
0
 
serialbandCommented:
This might lead to a clue about what your documents are:

http://cphelp.cpsi.com/v19/clinical/ancilref/iPad/mrhead.htm


I just googled for the header string you provided and it looks like some sort of Medical Record Header
0
 
arnoldCommented:
As serialband suggests, it looks like these files are input to an ASCII/Terminal type medical application/interface.

You should archive/tar-gzip these files and any others onto a tape and store it with notation in a safe place.
Is your firm in pharmaceutical/research.
Presumably, you are tasked at either repurposing this system or it is a upgrade cycle.....
0
 
noirfanAuthor Commented:
@serialband: That looks exactly like what I was looking for.   Looks like I should've tried googling the entire string with a word in front of it, instead of pieces of the syntax.  Thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now