LISTSERV mailing list manager LISTSERV 16.0

Help for ASKSAM-L Archives


ASKSAM-L Archives

ASKSAM-L Archives


ASKSAM-L@LISTSERV.VT.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ASKSAM-L Home

ASKSAM-L Home

ASKSAM-L  February 2003

ASKSAM-L February 2003

Subject:

Re: Betr.: failed import of pdf file

From:

Bonnie Britt <[log in to unmask]>

Reply-To:

For users of askSam: A Free-form Information Manager

Date:

Sun, 16 Feb 2003 16:40:55 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (69 lines)

Regular expressions can wreak havoc if you don't know what you're
doing, as I learned ever so painfully a few years ago by
destroying the contents of an entire folder using regular
expressions in UltraEdit. I wanted to delete [some words inside
brackets] like the foregoing, by searching for those words and replacing
them with nothing across numerous files.
In my files, those words actually were surrounded with brackets.
When you first install UE, "regular expressions" is checked in the search
and replace dialog box. Not knowing what regular expressions would do and
also not paying it any mind, I searched for [some words inside
brackets] and the program dutifully deleted all of those letters inside the
brackets wherever they appeared in every document within the folder,
rendering it useless. Destroyed was an accumulation of several years worth
of research on the Supreme Court of the US.
I was no happy camper. When I spoke to Ian Mead, the UE
developer, about it, he conveyed that programmers make up a
significant part of his audience and that they would know what
"regular expressions" would do, and that is, delete every example
of what is inside brackets.
Arrrrrgh.
Bonnie
PS: David, I am so glad your files have turned up. I keep my .ask
files on a different drive from the program. New installations
seem to know where to migrate to find the existing files, or I
tweak it slightly as Phil R describes. However, I do think the
company should offer more thorough warnings about what happens
with complete re-installations. For example, I lost my personally
configured toolbar after the recent re-installation. I would have
been happier if I could have taken the old tool bar configuration
with me. Not sure if that is possible.


| JulianFlor wrote:
|
| >I would suggest using an extra tool like a good text editor (notetab,
| >Ultraedit, Textpad) to copy the context of a asksam doc (that is, the
| >content of the pdf file) into this editor and have it clean these
| >text by "search&replace". Activating the option "regular expressions"
| >would convert any double, triple or what ever space into just one:
| >
| >Search for: "  +"
| >(two spaces and the +-sign, without "")
| >
| >replace by: " "
| >(ONE space)
| >
| >Reformatting broken lines (deleting line feeds at the end of line)
| >(in Notetab)
| >highligt the text you want to reformat and press Ctrl-J
| >
| >Convert many blank lines into one (without regular expression
| >activated) would be:
| >
| >search: ^p^p^p
| >replace by: ^p^p
| >
| >and repeat this operation if necessary (askSam itself is able to do
| >this, but I'm not very lucky with its global operator - it is not
| >very stable - sometimes it works, sometimes not.
| >
| >Julian
| >
| >PS: I know that this is only a uncomfortable workaround, but as
| >someone said - PDF files are very difficult to export/reformat by
| >almost any external tool. The only exception I know of is dtSearch,
| >(Version 5.xx or higher) where you can toggle the option "show search
| >results in the internal viewer" and what you get is a simple, but
| >clean text output (extracted from the original pdf file no matter how
| >complex the original layout may be).

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2013
February 2013
January 2013
September 2012
August 2012
April 2012
March 2012
November 2011
July 2011
June 2011
August 2010
July 2010
June 2010
February 2010
January 2010
October 2009
September 2009
May 2009
December 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
January 2008
December 2007
July 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
January 2001
December 2000
November 2000
October 2000
September 2000
August 2000
July 2000
June 2000
May 2000
April 2000
March 2000
February 2000
January 2000
December 1999
November 1999
October 1999
September 1999
August 1999
July 1999
June 1999
May 1999
April 1999
March 1999
February 1999
January 1999

ATOM RSS1 RSS2



LISTSERV.VT.EDU

CataList Email List Search Powered by the LISTSERV Email List Manager