JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for UK-NEXTSTEP-USERS Archives


UK-NEXTSTEP-USERS Archives

UK-NEXTSTEP-USERS Archives


UK-NEXTSTEP-USERS@JISCMAIL.AC.UK


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

UK-NEXTSTEP-USERS Home

UK-NEXTSTEP-USERS Home

UK-NEXTSTEP-USERS  2001

UK-NEXTSTEP-USERS 2001

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Assignment to a Key, Part II

From:

Ondra Cada <[log in to unmask]>

Reply-To:

NeXT users discussion list: hardware,[NEXT|OPEN|GNU]STEP, Darwin/Mac OS X,WebObjects" <[log in to unmask]>

Date:

Fri, 23 Nov 2001 17:59:35 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (71 lines)

Chris,

>>>>>> Chris Bidmead (CB) wrote at Fri, 23 Nov 2001 16:44:51 +0000:
CB> On Friday, November 23, 2001, at 01:33  pm, Ondra Cada wrote:
CB> >
CB> >% alias rewrap sed -f ~/Script/rewrap.sed
CB>
CB> Oh, I see what you mean.  I didn't get it at first.  No, I don't really
CB> like that.  It creates two entities, the script and the shell alias.

Well, this can be sured by using

% alias rewrap sed -e '...the well known stuff...'

I personally prefer having my sed scripts in text files, since they are more
easily maintained. That is, of course, just a personal preference.

CB> sed is ubiquitous, I just wanted one self-contained entity that declared
CB> its origins and function (in the comments) and functioned. Just one thing
CB> to move around among my various systems. You can do this with awk, why
CB> not with sed (haven't seen any sed script examples beginning #!...)

I must say I don't know the details of interpretation #! in scripts that
well. I guess the problem is that sed can't interpret a script if it goes in
without -f; the idea might be _QUITE_ wrong though!!!!

CB> In the current context I run it through TextExtras, which doesn't care if
CB> it's a script or a command line.
CB>
CB> >Strangely, I need this seldom enough to be quite satisfied with the
CB> >quick-and-dirty TextEdit solution (find-and-replace \n\n by blahblah,
CB> >f&r \n
CB> >by space, f&r blahblah by \n\n, manually).
CB>
CB> Does TextEdit recognise \n in Find?  I've never been able to do this.

Well, not as "\n", but as either pasted value, or cmd-e-brought one (which I
would use here), or Alt-Enter it always worked (even in Edit in those nice
days so far ago ;)) and does still.

CB> >OTOH, should I need it as often as you, I would probably write a "smart"
CB> >tool, which would support different ways of re-wrapping, it would also
CB> >clean
CB> >out those CR's from windoze or Classic, etc.
CB>
CB> I've found it easier just to clean out Classic and Windows... :-)  Just
CB> don't touch 'em, mate.

I'd like to. So far though -- triple alas! -- Classic is the only way how to
get Final Cut Pro and DVD Studio Pro, and windoze are the only way how to
make and build applications for my Nokia 9210 (well, we got quite far with
XSdk to do it in a decent environment, but the late Psion quit got us quite
dry on funds, and that quitted XSdk as well).

CB> And I'm not sure why you would want different ways
CB> of re-wrapping.

At the very least I would _sometimes_ like to have one \n, _sometimes_ two
of them between paragraphs.

CB> (BTW, has anyone noticed the very peculiar ideas that Mail.app
CB> seems to have about breaking lines?)

Nope. I've tried the thing once or twice, and run away. Now I contentedly
use my old good trusty NeXTStep 3.3 Mail ;)
---
Ondra Cada
OCSoftware:     [log in to unmask]               http://www.ocs.cz
2K Development: [log in to unmask]  http://www.2kdevelopment.cz
private         [log in to unmask]             http://www.ocs.cz/oc

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

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


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager