Created
September 25, 2023 16:16
-
-
Save kbridge/adff49de88c0a6ab18cdf8d5c7378bf2 to your computer and use it in GitHub Desktop.
tested on Glamorous Toolkit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| | path sep dirs | | |
| sep := (Smalltalk os isWindows) ifTrue: [ $; ] ifFalse: [ $: ]. | |
| path := Smalltalk os environment at: 'path'. | |
| dirs := sep split: path. | |
| dirs reject: [ :each | File exists: each ]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment