help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] Multiple double quoted expansions


From: David Niklas
Subject: [Help-bash] Multiple double quoted expansions
Date: Wed, 27 Apr 2016 21:26:11 -0400

Hello,
Today I typed into my terminal (">" changed to "<"):

% for i in *.pcx; do
<   convert "$i" "$(basename $i .pcx).png";
< done

This worked well, but all the filenames contained no embedded spaces
or anything else. So my question is, how would I redo this to make
it handle nastier filenames?

Thanks, David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]