[BioRuby-cvs] bioruby/lib/bio/shell interface.rb,1.16,1.17
Katayama Toshiaki
k at dev.open-bio.org
Wed Jun 20 17:24:56 UTC 2007
Update of /home/repository/bioruby/bioruby/lib/bio/shell
In directory dev.open-bio.org:/tmp/cvs-serv19770/lib/bio/shell
Modified Files:
interface.rb
Log Message:
* dir command output length ajasted
Index: interface.rb
===================================================================
RCS file: /home/repository/bioruby/bioruby/lib/bio/shell/interface.rb,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** interface.rb 5 Apr 2007 23:35:41 -0000 1.16
--- interface.rb 20 Jun 2007 17:24:54 -0000 1.17
***************
*** 199,204 ****
end
if files
! str = " UGO Date Byte File\n"
! str << "------ ---------------------------- ----------- ------------\n"
files.sort.each { |f|
stat = File.lstat(f)
--- 199,204 ----
end
if files
! str = " UGO Date Byte File\n"
! str << "------ ------------------------------ ----------- ------------\n"
files.sort.each { |f|
stat = File.lstat(f)
***************
*** 207,214 ****
byte = stat.size
name = f.inspect
! str << format("%s %s%13d %s\n", mode, date, byte, name)
}
puts str
! return str
end
end
--- 207,214 ----
byte = stat.size
name = f.inspect
! str << format("%s %30s%13d %s\n", mode, date, byte, name)
}
puts str
! return files.sort
end
end
More information about the bioruby-cvs
mailing list