[PD] external for reading files from directories?

Mathieu Bouchard matju at artengine.ca
Thu Jun 23 20:37:27 CEST 2005

On Thu, 23 Jun 2005, Roman Haefeli wrote:
> if you are on linux, you can use the shell-external and send a [ls(-msg 
> to it. to be honest, i would appreciate a way (external) that works 
> crossplatform, too, rather than the [shell]-solution.

All it takes for crossplatform operation is the following line for MS-DOS 


Or else here's the source code (in Ruby) for a portable ls you can use the 
following external (written in Ruby):

GridFlow::FObject.subclass("ls",1,1) {
   def _0_symbol(s) send_out 0,:list,*Dir[s.to_s].map{|x|x.intern} end

Which you can add in ~/.gridflow_startup to override the slightly less 
powerful [ls] external bundled with GridFlow. Note that the double-star 
wildcard recurses subdirectories.

Here's Carmen's GridFlow-for-Windows :


,-o--------o--------o--------o-. ,---. irc.freenode.net #dataflow |
| The Diagram is the Program tm| | ,-o-------------o--------------o-.
`-o------------o-------------o-' | | Mathieu Bouchard (Montréal QC) |
   | téléphone:+1.514.383.3801`---' `-o-- http://artengine.ca/matju -'

More information about the Pd-list mailing list