|
![]() |
|
| Author |
|
|||||||
|
Spock
Posts: 1325
Location: Brisbane, Queensland
|
so i downloaded this document, and it looks like i wasn't meant to or something cause its full of these dashes in almost every word.
does anyone know how to get rid of them? possibly using open office? |
|||||||
| #0 04:59pm 30/01/10 |
|
|||||||
|
system
|
--
|
|||||||
| #0 |
|
|||||||
|
BillyHardball
Posts: 10030
Location: Brisbane, Queensland
|
Find and replace???
|
|||||||
| #1 05:00pm 30/01/10 |
|
|||||||
|
hardware
Posts: 6544
Location: Brisbane, Queensland
|
yah, find and replace
i have some scripts at work that return good data within rather dirty crap i just use find and replace to sort it all out and it comes good |
|||||||
| #2 05:15pm 30/01/10 |
|
|||||||
|
greazy
Posts: 2787
Location: Brisbane, Queensland
|
yeah pretty much use work to find - and replace with nothing.
|
|||||||
| #3 05:21pm 30/01/10 |
|
|||||||
|
Pinky
Posts: 4415
Location: Melbourne, Victoria
|
Yeah I don't think enough people have suggested it, so I'll just add that I'd use the find/replace dialog. |
|||||||
| #4 05:27pm 30/01/10 |
|
|||||||
|
Scooter
Posts: 2430
Location: Brisbane, Queensland
|
I think I heard somewhere that CTRL+H was really good for this kind of thing.
Might be called 'Find and replace' or something. |
|||||||
| #5 05:29pm 30/01/10 |
|
|||||||
|
FraktuRe
Posts: 1782
Location: Gold Coast, Queensland
|
Pretty sure you should use this little known thing called find and replace, Don't know if anyone's mentioned that yet.
|
|||||||
| #6 05:32pm 30/01/10 |
|
|||||||
|
HerbalLizard
Posts: 3790
Location: Queenstown, New Zealand
|
Any idea why it has the - everywhere?
|
|||||||
| #7 05:33pm 30/01/10 |
|
|||||||
|
Spock
Posts: 1326
Location: Brisbane, Queensland
|
thanks Pinky, i never thought of that.
|
|||||||
| #8 05:34pm 30/01/10 |
|
|||||||
|
Thundercracker
Posts: 2273
Location: Brisbane, Queensland
|
I would suggest going through the document and removing all the -'s manually one by one.
|
|||||||
| #9 05:34pm 30/01/10 |
|
|||||||
|
Spock
Posts: 1327
Location: Brisbane, Queensland
|
ah, 42120 items replaced
and as to why they're there, maybe cause its an ebook i found in *.lit format and i had to convert it or download a reader. |
|||||||
| #10 05:37pm 30/01/10 |
|
|||||||
|
tequila
Posts: 5641
Location: Brisbane, Queensland
|
$line =~ s/-//g; or
or :%s/-//g or
|
|||||||
| #11 05:40pm 30/01/10 |
|
|||||||
|
Tremble
Posts: 233
Location: Brisbane, Queensland
|
All of which are much faster and easier than find and replace.
|
|||||||
| #12 05:44pm 30/01/10 |
|
|||||||
|
tequila
Posts: 5644
Location: Brisbane, Queensland
|
I know
I just wanted to show of my 1337 skillz |
|||||||
| #13 05:45pm 30/01/10 |
|
|||||||
|
Pinky
Posts: 4416
Location: Melbourne, Victoria
|
I was impressed teq, especially if you didn't use 'man' to work em out - hi5! |
|||||||
| #14 05:49pm 30/01/10 |
|
|||||||
|
whoop
Posts: 15381
Location: Brisbane, Queensland
|
Send the file to the chinese sweatshops and pay them 50c/hr to re-type the document.
|
|||||||
| #15 05:54pm 30/01/10 |
|
|||||||
|
euphoria
Posts: 1546
Location: Gold Coast, Queensland
|
I think the goal is retype, not re-type.
|
|||||||
| #16 06:15pm 30/01/10 |
|
|||||||
|
thermite
Posts: 3902
Location: Brisbane, Queensland
|
I don't think find and replace is a good idea, you have to figure out why the document got like that.
|
|||||||
| #17 06:29pm 30/01/10 |
|
|||||||
|
Spock
Posts: 1328
Location: Brisbane, Queensland
|
nah its alright thermite, i think it might have some copyright issues.
whats awesome though, is that you have one thousand three hundred and thirty seven skillz. It must have taken a while to learn that many |
|||||||
| #18 06:38pm 30/01/10 |
|
|||||||
|
trog
AGN Admin
Posts: 29164
Location: Brisbane, Queensland
|
I declare this thread over |
|||||||
| #19 06:41pm 30/01/10 |
|
|||||||
|
system
|
--
|
|||||||
| #19 |
|
|||||||
|
| ||||||||