From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: hans van der heide Newsgroups: gmane.os.tru64.managers Subject: Searchstring with tilde in vi Date: Wed, 25 Sep 2002 15:36:14 +0200 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <8D7FA7CC3748D511A11C00E018C492DC0A875C@bdl07> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1032961002 7028 127.0.0.1 (25 Sep 2002 13:36:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Sep 2002 13:36:42 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 17uCLJ-0001pD-00 for ; Wed, 25 Sep 2002 15:36:41 +0200 Original-Received: (qmail 17528 invoked by uid 5); 25 Sep 2002 13:36:36 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 17519 invoked by uid 49493); 25 Sep 2002 13:36:35 -0000 Original-Received: from hans.vanderheide@bdl.ch by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.24. spamassassin: 2.50-cvs. Clear:SA:0(-1.2/5.0):. Processed in 0.380536 secs); 25 Sep 2002 13:36:35 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 25 Sep 2002 13:36:35 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2Z00J03XSV40@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 25 Sep 2002 09:36:35 -0400 (EDT) Original-Received: from bdl07.bdl_dom (dclient217-162-202-84.hispeed.ch [217.162.202.84]) by emroute1.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H2Z00BJ8XSRBM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 25 Sep 2002 09:36:29 -0400 (EDT) Original-Received: by bdl07 with Internet Mail Service (5.5.2653.19) id ; Wed, 25 Sep 2002 15:36:22 +0200 Content-return: allowed Original-To: "'tru64-unix-managers@ornl.gov'" X-Mailer: Internet Mail Service (5.5.2653.19) Xref: main.gmane.org gmane.os.tru64.managers:1847 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:1847 Hello folks, I am struggling with the following: How can I search with "vi" for the character "~" (tilde). I do not know of a way escaping this character (implemented in vi as a shortcut for saved last searchresult): the backslash doesn't work for tilde, i cannot use a [.-.] or [^.-.] sequence as a trick because tilde is the last printable below 0x7F. Anybody know a trick? Greetings, Hans van der Heide ( mailto:hans.vanderheide@bdl.ch )