The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to differentiate two tar files siri_14 Shell Programming and Scripting 7 04-07-2009 05:01 PM
Please help Question about Excel Files and Unix arnab1978 UNIX for Dummies Questions & Answers 2 04-02-2009 03:54 AM
Multiple excel files processing on unix ucode_2482 UNIX for Dummies Questions & Answers 3 02-26-2009 04:02 PM
PERL: Split Excel Workbook to Indiv Excel files sandeep78 Shell Programming and Scripting 2 09-25-2008 09:21 AM
Exporting files from unix to Excel sheet bishweshwar UNIX for Advanced & Expert Users 3 03-21-2007 04:41 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 05-27-2009
phatak_rajan phatak_rajan is offline
Registered User
  
 

Join Date: May 2009
Posts: 1
Question Differentiate between MS Word and Excel files in Unix

Hi,

I want to differentiate between a MS Word and Excel file in Unix (not by extension). The condition which we are currently checking for is the pattern "\320\317\021\340" within first 40 bytes of the file. However this format is same in all MS Office files. Can somebody tell me any special characters which we can check which will differentiate between MS Word and MS Excel file.

Regards,
Rajan
 

Bookmarks

Tags
word excel unix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0