4 ; Messing about with path variables
6 ; © 1994-1998 Straylight
9 ;----- Licensing note -------------------------------------------------------
11 ; This file is part of Straylight's core utilities (coreutils).
13 ; Coreutils is free software; you can redistribute it and/or modify
14 ; it under the terms of the GNU General Public License as published by
15 ; the Free Software Foundation; either version 2, or (at your option)
18 ; Coreutils is distributed in the hope that it will be useful,
19 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ; GNU General Public License for more details.
23 ; You should have received a copy of the GNU General Public License
24 ; along with Coreutils. If not, write to the Free Software Foundation,
25 ; 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 ;----- Overview -------------------------------------------------------------
34 [ :LNOT::DEF:pathUtil__dfn
39 ; On entry: R0 == pointer to path variable name
40 ; R1 == pointer to a directory string to add in
42 ; On exit: CS if path element added, CC otherwise
45 ; Use: Adds a directory to the given path variable.
49 ; --- path_removeDir ---
51 ; On entry: R0 == pointer to name of path variable
52 ; R1 == pointer to a directory to remove
54 ; On exit: May return an error
56 ; Use: Removes an element from a given path variable.
62 ;----- That's all, folks ----------------------------------------------------