Solved

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

Posted on 2014-07-24
7
342 Views
Last Modified: 2014-07-25
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
Comment
Question by:noirfan
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 76

Expert Comment

by:arnold
ID: 40217320
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
 

Author Comment

by:noirfan
ID: 40217570
@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
 
LVL 27

Expert Comment

by:serialband
ID: 40217627
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 40218176
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
 
LVL 27

Accepted Solution

by:
serialband earned 500 total points
ID: 40218238
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
 
LVL 76

Expert Comment

by:arnold
ID: 40218469
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
 

Author Closing Comment

by:noirfan
ID: 40219555
@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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now