[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Strange behaviour of cd and ls command during tab completion
From: |
nikhilmehta_263 |
Subject: |
Strange behaviour of cd and ls command during tab completion |
Date: |
Sat, 12 Dec 2009 00:11:33 -0800 (PST) |
Hi,
I have recently installed octave, and find that if I am using tab completion
for searching a file or directory inside the pwd, it lists files that are
simply not present in pwd. I suspect it lists octave commands or functions
or toolboxes, etc beginning with the (partial) string I have typed.
sample:
octave:1> pwd
ans = /home/nikhil
octave:2> ls -lh ./Dropbox/
total 148K
-rw-r--r-- 1 nikhil nikhil 102K 2009-10-01 14:40 Antenna Paradox.pdf
drwxr-xr-x 9 nikhil nikhil 4.0K 2009-12-03 22:11 emc
drwxr-xr-x 2 nikhil nikhil 4.0K 2009-11-08 21:45 friends
-rw-r--r-- 1 nikhil nikhil 1.3K 2009-09-11 16:16 Getting Started.rtf
drwxr-xr-x 3 nikhil nikhil 4.0K 2009-11-08 01:33 Photos
drwxr-xr-x 6 nikhil nikhil 4.0K 2009-12-03 22:11 ProfAndres
drwxr-xr-x 4 nikhil nikhil 4.0K 2009-11-08 01:31 psu_courses
drwxr-xr-x 2 nikhil nikhil 4.0K 2009-11-08 01:33 Public
-rw-r--r-- 1 nikhil nikhil 749 2009-10-08 21:33 RC_strip_rect_FEKO
drwxr-xr-x 2 nikhil nikhil 4.0K 2009-11-18 12:17 resume
-rw-r--r-- 1 nikhil nikhil 167 2009-11-30 12:37 to_do.txt
octave:3> cd ./Dropbox/empirical_
empirical_cdf empirical_inv empirical_pdf empirical_rnd
[in above command, I am using tab & it defaults to "empirical_", which is
obviously not present in pwd, & note that it lists files none of which are
present in pwd].
Am I missing something lame, what is the problem here? Goes w/o saying that
I am going insanely frustrated (to put it in a civil way)...
Thanks a ton for any pointers!
~ nikhil
--
View this message in context:
http://old.nabble.com/Strange-behaviour-of-cd-and-ls-command-during-tab-completion-tp26755468p26755468.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Strange behaviour of cd and ls command during tab completion,
nikhilmehta_263 <=