Gentoo Archives: gentoo-user

From: felix@×××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Shell problem
Date: Mon, 11 Aug 2008 05:12:46
Message-Id: 20080811051232.GA20314@crowfix.com
In Reply to: [gentoo-user] Shell problem by Ivan Alden
1 On Mon, Aug 11, 2008 at 12:57:26PM +0000, Ivan Alden wrote:
2 > Hi all,
3 >
4 > I was working in a shell with tar and I changed something where now when
5 > I type "*" it interprets it as --exlucde
6 >
7 > i.e
8 >
9 > $ *
10 > bash: --exlucde: command not found
11 >
12 > or
13 >
14 > $ ls *
15 > ls: unrecognized option `--exlucde'
16 > Try `ls --help' for more information.
17
18 Does this happen in every directory, or do you have a file named
19 "--exlucde" that you created by mistake in the dir where this happens?
20 That name would tend to sort first ahead of most other names. I can
21 recreate it like this:
22
23 $ touch ./--exlucde
24 $ ls *
25 ls: unrecognized option '--exlucde'
26 Try `ls --help' for more information.
27 $
28
29 and I can fix it like this:
30
31 $ rm ./--exlucde
32 $
33
34 --
35 ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
36 Felix Finch: scarecrow repairman & rocket surgeon / felix@×××××××.com
37 GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933
38 I've found a solution to Fermat's Last Theorem but I see I've run out of room o

Replies

Subject Author
Re: [gentoo-user] Shell problem Ivan Alden <ivan.alden@×××××.com>