LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2004, 10:39 PM   #1
qspares
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Rep: Reputation: 0
Angry How to turn off Fedora wildcat?


I just found an annoying feature of fedora: I compiled a C program, let's
call it myprogram. Then when I type command like:
$ myprogram aa.*
the shell will convert the aa.* to all files that match the wildcat, if I have
aa.a, aa.b aa.c in my current directory, the command will be converted to:
$ myprogram aa.a aa.b aa.c

I hate it, Anybody knows how to turn it off? Thanks!
 
Old 10-26-2004, 12:57 AM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I'm not sure how to disable wildcards globally, but one thing you could do is use the escape character \ before your wildcard. ? * and other symbols are known as "special characters" (check the lq wiki). To refer to a file that contains any special character, (even executables) you need to use an escape character that tells bash, "Hey, this filename literally contains [whatever]".

So you would run an executable called aa.* in your current directory with:

Code:
./aa.\*
--Shade

Edit to add: This probably would have fit better in linux-general, instead of linux-software as it has to do with syntax.

Last edited by Shade; 10-26-2004 at 12:59 AM.
 
Old 10-26-2004, 03:55 PM   #3
qspares
LQ Newbie
 
Registered: Oct 2004
Posts: 14

Original Poster
Rep: Reputation: 0
I guess that should work, but it's a little bit awkward? Is there a way to just turn it off easily?
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
3DLabs wildcat 4 7110 trouble spooge Slackware 5 10-28-2007 12:14 AM
Wildcat -vs- nVidia Freaksta Linux - Hardware 0 05-26-2004 08:58 PM
how can i turn off the firewall using Fedora Core 1 ? HeRCuLeSX Linux - Security 4 04-23-2004 12:07 PM
Wildcat 3410 and Fedora Wholeeo Fedora 0 03-22-2004 03:14 PM
How do I turn the main volume up in Fedora Core 1 reesee Linux - Newbie 3 02-16-2004 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration