LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LQ Suggestions & Feedback
User Name
Password
LQ Suggestions & Feedback Do you have a suggestion for this site or an idea that will make the site better? This forum is for you.
PLEASE READ THIS FORUM - Information and status updates will also be posted here.

Notices

Reply
 
LinkBack Search this Thread
Old 02-23-2007, 09:20 AM   #1
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
how can I search for '~' in this forum?


Dear Mr. Helpman,

I'm trying to get rid of the "~"-files my system creates when it feels it is better to keep a copy, but I'm taking care of my backups all right and I find it annoying to having to delete those files. I wanted to google for the problem and then I tried to find and answer on LQ, but both just wouldn't look for "~". Escaping ("\~") also didn't help. (it would have made this day a so much better one if it had) .

so...
how can I search for '~' in this forum?


Cheers,
Sam
 
Old 02-23-2007, 09:26 AM   #2
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 70
Each text editor has an option to disable backups. Look for this option for whatever editor you are using and your problem will be resolved.
 
Old 02-23-2007, 09:28 AM   #3
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
I just tried it and didn't have a problem.

Could you be more specific about (a) a couple of sample names of files you're trying to delete, and (b) the exact command you tried to use to delete all ~ files, and (c) the exact error message you got?
 
Old 02-23-2007, 09:32 AM   #4
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Original Poster
Rep: Reputation: 30
Thanks, I'll look for it.
:-)
Of course, this is what I really wanted, but I'm still curious.. is there a way to look for a symbol like ~ on the search page?
 
Old 02-23-2007, 09:44 AM   #5
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Original Poster
Rep: Reputation: 30
ha, I could've just looked for tilde instead.
I'm a dolt sometimes.

:-)
 
Old 02-23-2007, 12:31 PM   #6
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 9,110

Rep: Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401Reputation: 2401
There is a minimum word length for the FULLTEXT engine, so ~ by itself it not a valid search string.

--jeremy
 
Old 02-23-2007, 01:47 PM   #7
win32sux
Moderator
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Originally Posted by baikonur
I'm trying to get rid of the "~"-files my system creates when it feels it is better to keep a copy
as has been said, to take care of the problem from the source you must disable the feature for your apps which creates these backup files...

in any case, to find the current ones on your system do something like:
Code:
find /home/baikonur -type f -name "*~"
if you wish to delete them all in one shot do something like:
Code:
find /home/baikonur -type f -name "*~" -exec rm -f {} \;

Last edited by win32sux; 02-23-2007 at 01:51 PM.
 
Old 02-24-2007, 03:18 AM   #8
baikonur
Member
 
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Original Poster
Rep: Reputation: 30
I had not realized it was the editor that created them, not the system.
Code:
:set nobackup
did the job. (vim)

Quote:
Originally Posted by jeremy
There is a minimum word length for the FULLTEXT engine, so ~ by itself it not a valid search string.
Ah, ok. Thanks!

Last edited by baikonur; 02-24-2007 at 03:23 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forum search function gone? AndeAnderson LQ Suggestions & Feedback 3 03-06-2006 10:27 AM
Forum related question - Please help with specific search technique Jongi LQ Suggestions & Feedback 8 01-05-2006 11:07 AM
search this/any forum boxes Crito LQ Suggestions & Feedback 5 11-09-2005 05:52 PM
problem with forum search dukeinlondon LQ Suggestions & Feedback 6 06-11-2005 08:50 PM
new forum search Boby LQ Suggestions & Feedback 12 07-29-2004 04:18 PM


All times are GMT -5. The time now is 04:06 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration