Unix/Linux Go Back    

UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Problems with Dutch and converting files to UNIX

UNIX for Dummies Questions & Answers

Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 03-22-2014
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 1 December 2015, 6:45 AM EST
Location: San Jose, CA, USA
Posts: 7,685
Thanks: 327
Thanked 2,519 Times in 2,166 Posts
If you're sure you just want to delete the 1st three bytes of a file:

dd ibs=1 skip=3 if=filename of=filename.new

The Following 2 Users Say Thank You to Don Cragun For This Useful Post:
A-V (03-23-2014), Scott (03-22-2014)
Old Unix and Linux 03-23-2014
A-V A-V is offline
Registered User
Join Date: May 2012
Last Activity: 1 April 2015, 5:28 PM EDT
Posts: 151
Thanks: 92
Thanked 2 Times in 2 Posts
not all the files are with the same hidden structure and some have others in different places but i guess it should work if I use perl to remove the BOMs

tried deleting the first 3 character and it seems to help the process ... thanx

Last edited by A-V; 03-23-2014 at 12:23 PM..
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
awk - problems by converting date-format IMPe Shell Programming and Scripting 7 01-09-2014 12:08 PM
Converting Unix executable files Steven Greenber OS X (Apple) 4 02-04-2005 12:58 PM
Converting BMP to BM (or other unix format) EJ =) UNIX Desktop for Dummies Questions & Answers 1 06-12-2002 09:42 AM
converting files from unix to windows jefft1976 UNIX for Dummies Questions & Answers 2 12-11-2001 06:29 PM

All times are GMT -4. The time now is 10:40 AM.