repo.or.cz
/
zcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
added error logging to the searching so that bad zservers can be removed
[zcc.git]
/
bin
/
concat-files.rb
blob
39ee83ae0ecccebc54faeab3ac03bef6a506fa8d
1
2
newfile = File.new("#{File.expand_path("~")}/concat-file.txt", "w")
3
File.open("#{File.expand_path("~")}/concat-file.txt", "w") do |f|
4
Dir["#{ARGV[0]}/*"].sort.each do |file|
5
File.open(file, 'r') do |cvs|
6
f.puts cvs.read
7
end
8
end
9
end