2008-11-14 01:55:17 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								! Copyright (C) 2008 Doug Coleman.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								! See http://factorcode.org/license.txt for BSD license.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								USING:  help.markup  help.syntax  io.streams.string  strings  ;
  
						 
					
						
							
								
									
										
										
										
											2008-12-02 22:49:59 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								IN:  tools.files  
						 
					
						
							
								
									
										
										
										
											2008-11-14 01:55:17 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								HELP:  directory.  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $values
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								     { "path"  "a pathname string"  }
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								}
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								{ $description "Prints information about all files in a directory to the output stream in a cross-platform way similar to the Unix "  { $snippet "ls"  } " command."  } ;
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-12-02 22:49:59 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								ARTICLE: "tools.files"  "Files tools" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								"The "  { $vocab-link "tools.files"  } " vocabulary implements directory files and file-systems listing in a cross-platform way."  $nl 
						 
					
						
							
								
									
										
										
										
											2008-11-14 01:55:17 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								"Listing a directory:"  
						 
					
						
							
								
									
										
										
										
											2009-10-01 15:56:36 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								{ $subsections directory. } ;
 
							 
						 
					
						
							
								
									
										
										
										
											2008-11-14 01:55:17 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2008-12-02 22:49:59 -05:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								ABOUT: "tools.files"