MACSCRPT Archives

February 2009

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Fri, 20 Feb 2009 11:45:28 -0500
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
MIME-Version:
1.0
Content-Transfer-Encoding:
7bit
In-Reply-To:
Content-Type:
text/plain; charset=UTF-8
From:
"Mark J. Reed" <[log in to unmask]>
Parts/Attachments:
text/plain (29 lines)
On Thu, Feb 19, 2009 at 10:11 PM, Stockly, Ed <[log in to unmask]> wrote:
> Either file not found or directory not found.

That sounds like you're giving it a relative path.

>>>What directory do they change to to fix it?
>
> He says he uses cld for change local directory... What's the difference
> between that and cd?

I was more interested in the target of the command than the command
itself, but I've never heard of a shell command called "cld".  "lcd"
in FTP clients, sure...

> This command coerces an alias to a file on the local drive to a posix path.
> Does that make it absolute?

It depends on the alias.  Try logging the path - it should start with
a /.  If not, that's your problem.

> Something like this.... ?  Or maybe the /usr/bin go before the cd?

No, /usr/bin/curl is just telling the shell where to find the curl
program.  cd is not a program the shell has to run - it's a command
built into the shell itself.

-- 
Mark J. Reed <[log in to unmask]>

ATOM RSS1 RSS2