Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

Problems with Dutch and converting files to UNIX

UNIX for Dummies Questions & Answers

Thread Tools Search this Thread Display Modes
Old Unix and Linux 03-22-2014   -   Original Discussion by A-V
Don Cragun's Unix or Linux Image
Don Cragun Don Cragun is offline Forum Staff  
Join Date: Jul 2012
Last Activity: 16 January 2018, 5:22 AM EST
Location: San Jose, CA, USA
Posts: 10,908
Thanks: 607
Thanked 3,814 Times in 3,258 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)
Sponsored Links
Old Unix and Linux 03-23-2014   -   Original Discussion by A-V
A-V's Unix or Linux Image
A-V A-V is offline
Registered User
Join Date: May 2012
Last Activity: 29 April 2016, 10:07 AM EDT
Posts: 155
Thanks: 97
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..
Sponsored Links

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 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 11:43 AM.