On Mon, 27 Dec 2010 22:03:49 -0700
Craig White wrote:
> Should be simple and perhaps I'm tired but it's not coming to me.
>
> In its simplest form...
>
> for old in `cat "$FILENAME"`;do
> echo "$old"
> dirname "$old"
> new="$(echo $old | sed 's/\*/\-/')"
> done
>
> I'm trying to take out
Craig White writes:
>
> Should be simple and perhaps I'm tired but it's not coming to me.
>
> In its simplest form...
>
> for old in `cat "$FILENAME"`;do
> echo "$old"
> dirname "$old"
> new="$(echo $old | sed 's/\*/\-/')"
> done
>
> I'm trying to take out some stupid Macintosh things -
Craig White wrote:
Should be simple and perhaps I'm tired but it's not coming to me.
In its simplest form...
for old in `cat "$FILENAME"`;do
echo "$old"
dirname "$old"
new="$(echo $old | sed 's/\*/\-/')"
done
I'm trying to take out some stupid Macintosh things - in this case
filenames wi
From: Craig White
> for old in `cat "$FILENAME"`;do
> echo "$old"
> dirname "$old"
> new="$(echo $old | sed 's/\*/\-/')"
> done
> I'm trying to take out some stupid Macintosh things - in this case
> filenames with asterisks but I have others like tilde's and probably
> others that I hav
On Tue, Dec 28, 2010 at 2:03 AM, Craig White wrote:
> Should be simple and perhaps I'm tired but it's not coming to me.
>
> In its simplest form...
>
> for old in `cat "$FILENAME"`;do
> echo "$old"
> dirname "$old"
> new="$(echo $old | sed 's/\*/\-/')"
> done
Should be
new=$(echo "$old" | sed
5 matches
Mail list logo