Or you could do this (on a Mac but similar for Linux):
sudo ln -s /Applications/Racket\ v6.12/ /usr/local/racket
which would allow you to simply add /usr/local/racket/bin to your path. I
use this method a lot.
On Monday, October 21, 2013 at 2:20:53 PM UTC-4, Greg Hendershott wrote:
>
> Early o
(for ([dir (map path->string (directory-list))])
(define newdir (string-replace dir " " "_"))
(unless (equal? dir newdir)
(rename-file-or-directory dir newdir #f)))
or
for dir in *; do
newdir=`echo "$dir" | tr " " _` ;
if [ "$dir" != "$newdir" ] ; then mv -i "$dir" "$newdir" ; fi ;
d
Thanks - good tip. I don't suppose there some awesome one liner that
does this for all working directory paths?
On 22/10/2013, at 5:21 AM, Greg Hendershott wrote:
> Early on using Racket, like you I had some trouble or other quoting. I
> adopted the perhaps dubious habit of, right after install
Early on using Racket, like you I had some trouble or other quoting. I
adopted the perhaps dubious habit of, right after installing a new
version, renaming to e.g. /Applications/Racket_v5.3.6" -- i.e. " " ->
"_".
On Mon, Oct 21, 2013 at 4:50 AM, Matthew Johnson wrote:
> Thanks very much. Working
Thanks very much. Working well now.
For those that find this, a trap for young players is that you must
quote paths with spaces in them, else you will lose everything you
depend upon (even the command 'ls').
So it is
Export PATH="/Applications/Racket v5.3.6/bin":$PATH
mj
On 21/10/2013, at 7:30
Matt, hello.
On 2013 Oct 21, at 08:59, Matthew Johnson wrote:
> I just downloaded the Racket binaries and installed them.
Ah, but where have you installed them?
> I have been able
> to fire up DrRacket, however given that i prefer vim i was hoping to run
> racket from the command line.
>
> I
Dear List,
I just downloaded the Racket binaries and installed them. I have been able
to fire up DrRacket, however given that i prefer vim i was hoping to run
racket from the command line.
I've tried
$ racket and $ which racket
but the command is not found. Is there some linking step that i've
7 matches
Mail list logo