giskumar Posted November 10, 2010 Posted November 10, 2010 Hi all, Please refer the snap shot. This file contains text value and x,y coordinates values from autocad. I want to do this using Write-line function in lisp. But i am not getting how can i use rectangle symbol instead of newline. Thanks, Kumar. Quote
BlackBox Posted November 10, 2010 Posted November 10, 2010 Is this text file something AutoCAD is creating... Or is this an external file (from someone else) that you are attempting to extract data from? Quote
Lee Mac Posted November 10, 2010 Posted November 10, 2010 Read the file that you have displayed, find the ASCII code of the character you highlight, then write that character using write-line. Quote
alanjt Posted November 10, 2010 Posted November 10, 2010 Open the document in Microsoft Word (or some respectable word processor) and with "Find & Replace" (Ctrl + H), you can swap them out for a carriage return. eg. FIND: *select the ascii character, copy to clipboard and paste in the FIND box REPLACE: ^p EDIT: Nevermind, I read the post as if you were trying to correct the ascii character issue. Quote
giskumar Posted November 11, 2010 Author Posted November 11, 2010 Thanks for all. I got file dos2unix.exe from my friend which converts a file with no. of lines to required format which solved my problem Kumar. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.