[#20675] RCR: non-bang equivalent to []= — Tobias Reif <tobiasreif@...>

Hi,

49 messages 2001/09/01
[#20774] Re: RCR: non-bang equivalent to []= — Tobias Reif <tobiasreif@...> 2001/09/03

I wrote:

[#20778] Re: RCR: non-bang equivalent to []= — Kevin Smith <kevinbsmith@...> 2001/09/03

--- Tobias Reif <tobiasreif@pinkjuice.com> wrote:

[#20715] oreilly buch von matz - website online — markus jais <info@...>

hi

43 messages 2001/09/02
[#20717] Re: OReilly Ruby book has snail on cover — ptkwt@...1.aracnet.com (Phil Tomson) 2001/09/02

Actually, thanks for posting it here. I was trying to search OReilly's

[#20922] Re: OReilly Ruby book has snail on cover — Paul Brannan <pbrannan@...> 2001/09/05

On Mon, 3 Sep 2001, Phil Tomson wrote:

[#20768] Minor cgi.rb question — "Hal E. Fulton" <hal9000@...>

I don't have much experience with

25 messages 2001/09/03

[#20770] Calling member methods from C++ — jglueck@... (Bernhard Glk)

Some quetsions have been solved for me, but my message system does not

12 messages 2001/09/03

[#20976] destructor — Frank Sonnemans <ruby@...>

Does Ruby have a destructor as in C++?

25 messages 2001/09/07

[#21218] Ruby objects <-> XML: anyone working on this? — senderista@... (Tobin Baker)

Are there any Ruby analogs of these two Python modules (xml_pickle,

13 messages 2001/09/15

[#21296] nested require files need path internally — Bob Gustafson <bobgus@...>

Version: 1.64

29 messages 2001/09/18
[#21298] Re: nested require files need path internally — David Alan Black <dblack@...> 2001/09/18

Hello --

[#21302] Re: nested require files need path internally — Bob Gustafson <bobgus@...> 2001/09/18

On Tue, 18 Sep 2001, David Alan Black wrote:

[#21303] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/18

Hi,

[#21306] Re: nested require files need path internally — Lars Christensen <larsch@...> 2001/09/18

On Tue, 18 Sep 2001, Yukihiro Matsumoto wrote:

[#21307] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/18

Hi,

[#21331] Re: nested require files need path internally — Paul Brannan <pbrannan@...> 2001/09/18

> The big difference is C++ search done in compile time, Ruby search

[#21340] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/18

Hi,

[#21353] Re: nested require files need path internally — Paul Brannan <pbrannan@...> 2001/09/18

On Wed, 19 Sep 2001, Yukihiro Matsumoto wrote:

[#21366] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/19

Hi,

[#21368] Re: nested require files need path internally — "Julian Fitzell" <julian-ml@...4.com> 2001/09/19

On 19/09/2001 at 10:12 AM matz@ruby-lang.org wrote:

[#21376] Re: nested require files need path internally — matz@... (Yukihiro Matsumoto) 2001/09/19

Hi,

[#21406] Re: nested require files need path internally — Paul Brannan <pbrannan@...> 2001/09/19

On Wed, 19 Sep 2001, Yukihiro Matsumoto wrote:

[#21315] Suggestions for new CGI lib — anders@... (Anders Johannsen)

From the comp.lang.ruby thread "Minor cgi.rb question" (2001-09-03), I

21 messages 2001/09/18

[#21413] Ruby/objects book in style of The Little Lisper — Brian Marick <marick@...>

I fell in love with Lisp in the early 80's. Back then, I read a book called

36 messages 2001/09/19
[#21420] Re: Ruby/objects book in style of The Little Lisper — Christopher Sawtell <csawtell@...> 2001/09/20

On 20 Sep 2001 06:19:44 +0900, Brian Marick wrote:

[#21479] Re: Ruby/objects book in style of The Little Lisper — Kevin Smith <kevinbsmith@...> 2001/09/21

--- Christopher Sawtell <csawtell@paradise.net.nz> wrote:

[#21491] SV: Re: Ruby/objects book in style of The Little Lisper — "Mikkel Damsgaard" <mikkel_damsgaard@...> 2001/09/21

[#21494] Re: SV: Re: Ruby/objects book in style of The Little Lisper — Kevin Smith <kevinbsmith@...> 2001/09/21

--- Mikkel Damsgaard <mikkel_damsgaard@mailme.dk> wrote:

[#21510] Re: SV: Re: Ruby/objects book in style of The Little Lisper — Todd Gillespie <toddg@...> 2001/09/22

On Sat, 22 Sep 2001, Kevin Smith wrote:

[#21514] Re: SV: Re: Ruby/objects book in style of The Little Lisper — Kevin Smith <kevinbsmith@...> 2001/09/22

--- Todd Gillespie <toddg@mail.ma.utexas.edu> wrote:

[#21535] irb — Fabio <fabio.spelta@...>

Hello. :) I'm new here, and I have not found an archive of the previous

15 messages 2001/09/22

[#21616] opening a named pipe? — "Avdi B. Grimm" <avdi@...>

I'm having trouble reading from a named pipe in linux. basicly, I'm

12 messages 2001/09/24

[#21685] manipulating "immutable" objects such as Fixnum from within callbacks & al... — Guillaume Cottenceau <gc@...>

Hello,

15 messages 2001/09/25

[#21798] Ruby internal (guide to the source) — "Benoit Cerrina" <benoit.cerrina@...>

Hi,

22 messages 2001/09/28

[ruby-talk:21731] Re: Problem with directory? Re: Path walkin g on windows

From: Charles Hixson <charlesh@...>
Date: 2001-09-26 15:27:22 UTC
List: ruby-talk #21731
Hi Barry,
I'm not sure quite what you mean by characterise, so here's an 
attempt:
  Volume in drive C has no label
  Volume Serial Number is 261E-15ED
  Directory of C:\Docs\TIP_HTML

..              <DIR>        04-19-2001  7:55a .
...             <DIR>        04-19-2001  7:55a ..
DOCPROC        <DIR>        09-17-2001  8:39a DocProc
DOCS           <DIR>        09-25-2001  2:04p docs
HTML     1     <DIR>        05-02-2001  2:42p HTML.1
HTML           <DIR>        04-30-2001  9:43a Html
INCOMING       <DIR>        04-30-2001  7:21a incoming
PRIORV~1       <DIR>        06-25-2001  2:44p PriorVersn
SEVERSN        <DIR>        06-28-2001  2:35p seVersn
ATIPFI~1 TXT       623,272  09-06-2001  1:15p aTipFinan.txt
ATIPHEAD TXT       260,304  09-06-2001  1:15p aTipHead.txt
ATIPHE~1 TXT         6,552  09-06-2001  1:15p aTipHeadB.txt
ATIPHE~2 TXT       403,767  09-06-2001  1:15p aTipHeadA.txt
BACKUP~2 TXT           215  05-02-2001  3:32p 
Backup-tipExportSpecs.txt
DATE_T~1 E             795  09-12-2001 10:46a date_time.e
GLOB     E           1,112  09-12-2001 10:01a glob.e
LOGGER   E           1,964  09-13-2001  8:40a logger.e
RUN_LOG  TXT         2,865  09-25-2001  2:08p run_log.txt
SARRAY   E           5,635  09-13-2001  8:42a sarray.e
Press any key to continue . . .

$ ls /cygdrive/c/docs/tip_html
Backup-tipExportSpecs.txt  docs             tip_db_build.e 
tip_html1.c
DocProc                    glob.e           tip_finan_line.e 
tip_html1.obj
HTML.1                     incoming         tip_finan_rcrd.e 
tip_html2.c
Html                       logger.e         tip_finan_reader.e 
tip_html2.obj
PriorVersn                 run_log.txt      tip_html.bak 
tip_html3.c
aTipFinan.txt              sarray.e         tip_html.bat 
tip_html3.obj
aTipHead.txt               sarray_cursor.e  tip_html.e 
tip_reader.e
aTipHeadA.txt              seVersn          tip_html.exe 
utils.e
aTipHeadB.txt              tip.e            tip_html.h
date_time.e                tip_code.e       tip_html.id

`ls -l` is attached as a text file.
What other information would you want?

SHULTZ,BARRY (HP-Israel,ex1) wrote:

> I'm running the same Ruby, under Win95 4.00.950r-7 and I'm not getting
> any "false negatives" using FileTest.directory? . Can you characterize 
> the problem directories in some way?
> 
> Barry
> 
>>It runs without detecting an error, but it misidentifies actual 
>>directories as normal files.
>>(Again, this is on a Win95 4.00.950 B system.)
>>$ ruby -v
>>ruby 1.6.3 (2001-03-19) [i386-cygwin]
>>
>>(Though it doesn't matter whether I run ruby under dos or 
>>cygwin, or even directly from RubyWin .. the exact same result 
>>obtains.)
>>
>>
>>>Date: Sun, 23 Sep 2001 15:31:02 +0900
>>>From: "SHULTZ,BARRY (HP-Israel,ex1)" <barry_shultz@hp.com>
>>>To: ruby-talk@ruby-lang.org (ruby-talk ML)
>>>
>>>
>>>Hi Charles,
>>>
>>> It works for me if I change
>>>
>>>if  test("d?", x)
>>>
>>>to
>>>
>>>if FileTest.directory?(x)
>>>
>>>HTH,
>>>Barry
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Charles Hixson [mailto:charlesh@pop.newsguy.com]
>>>>Sent: Sunday, September 23, 2001 5:43 AM
>>>>To: ruby-talk@ruby-lang.org
>>>>Subject: [ruby-talk:21578] Re: Problem with directory? Re:
>>>>Path walking
>>>>on windows
>>>>
>>>>
>>>>class Dir
>>>>def walk (prefix = nil, &walker)
>>>>e = self.entries
>>>>e.delete "."; e.delete ".."
>>>>if prefix
>>>>e.collect! {|x| File.join(prefix, x) }
>>>>end
>>>>
>>>>if block_given?
>>>>e.each {|x|
>>>>print "Processing <<#{x}>> "
>>>>#       afile = File.lstat(x)
>>>>#       puts afile.inspect
>>>>#       f = File.ftype(afile)
>>>>#       puts f.inspect
>>>>#       if f.directory? then
>>>>#       if f == "directory"	then
>>>>if  test("d?", x)
>>>>Dir.new(x).walk x, &walker
>>>>else
>>>>puts "#{x} is not a directory."
>>>>end
>>>>yield x
>>>>}
>>>>end
>>>>
>>>>nil
>>>>end
>>>>end
>>>>
>>>
>>
>>-- 
>>Charles Hixson
>>
>>Copy software legally, the GNU way!
>>Use GNU software, and legally make and share copies of software.
>>See http://www.gnu.org
>>     http://www.redhat.com
>>     http://www.linux-mandrake.com
>>     http://www.calderasystems.com/
>>     http://www.linuxapps.com/
>>
>>
> 
> 


Attachments (1)

out.txt (2.53 KB, text/plain)
total 1931
-rw-r--r--    1 chixso   544           215 May  2 15:32 Backup-tipExportSpecs.txt
drwxr-xr-x    2 chixso   544             0 Sep 17 08:39 DocProc
drwxr-xr-x    2 chixso   544             0 May  2 14:42 HTML.1
drwxr-xr-x    2 chixso   544             0 Apr 30 09:43 Html
drwxr-xr-x    2 chixso   544             0 Jun 25 14:44 PriorVersn
-rw-r--r--    1 chixso   544        623272 Sep  6 13:15 aTipFinan.txt
-rw-r--r--    1 chixso   544        260304 Sep  6 13:15 aTipHead.txt
-rw-r--r--    1 chixso   544        403767 Sep  6 13:15 aTipHeadA.txt
-rw-r--r--    1 chixso   544          6552 Sep  6 13:15 aTipHeadB.txt
-rw-r--r--    1 chixso   544           795 Sep 12 10:46 date_time.e
drwxr-xr-x    2 chixso   544             0 Sep 25 14:04 docs
-rw-r--r--    1 chixso   544          1112 Sep 12 10:01 glob.e
drwxr-xr-x    2 chixso   544             0 Apr 30 07:21 incoming
-rw-r--r--    1 chixso   544          1964 Sep 13 08:40 logger.e
-rw-r--r--    1 chixso   544          2865 Sep 25 14:08 run_log.txt
-rw-r--r--    1 chixso   544          5635 Sep 13 08:42 sarray.e
-rw-r--r--    1 chixso   544          1360 Sep 12 11:26 sarray_cursor.e
drwxr-xr-x    3 chixso   544             0 Jun 28 14:35 seVersn
-rw-r--r--    1 chixso   544         13527 Sep 13 10:41 tip.e
-rw-r--r--    1 chixso   544          9093 Sep 13 08:14 tip_code.e
-rw-r--r--    1 chixso   544          5979 Sep 12 13:39 tip_db_build.e
-rw-r--r--    1 chixso   544          7828 Sep 13 08:57 tip_finan_line.e
-rw-r--r--    1 chixso   544          2449 Sep 12 13:52 tip_finan_rcrd.e
-rw-r--r--    1 chixso   544          1602 Sep 12 13:46 tip_finan_reader.e
-rw-r--r--    1 chixso   544           855 Sep 25 14:07 tip_html.bak
-rwxr-xr-x    1 chixso   544           855 Sep 25 14:14 tip_html.bat
-rw-r--r--    1 chixso   544          3670 Sep 13 12:20 tip_html.e
-rwxr-xr-x    1 chixso   544         76832 Sep 25 14:07 tip_html.exe
-rw-r--r--    1 chixso   544         44057 Sep 25 14:07 tip_html.h
-rw-r--r--    1 chixso   544         12368 Sep 25 14:07 tip_html.id
-rw-r--r--    1 chixso   544        131899 Sep 25 14:07 tip_html1.c
-rw-r--r--    1 chixso   544         57012 Sep 25 14:07 tip_html1.obj
-rw-r--r--    1 chixso   544        144849 Sep 25 14:07 tip_html2.c
-rw-r--r--    1 chixso   544        100068 Sep 25 14:07 tip_html2.obj
-rw-r--r--    1 chixso   544         22816 Sep 25 14:07 tip_html3.c
-rw-r--r--    1 chixso   544         15586 Sep 25 14:07 tip_html3.obj
-rw-r--r--    1 chixso   544          1447 Sep 12 10:04 tip_reader.e
-rw-r--r--    1 chixso   544           378 Sep 13 09:00 utils.e

In This Thread