Date: Wed, 14 May 1997 00:26:36 -0800 (AKDT) From: Steve Howe <un_x@anchorage.net> To: freebsd-questions <questions@freebsd.org> Subject: parameter expansion Message-ID: <Pine.BSF.3.95q.970514002319.4631B-100000@aak.anchorage.net>
next in thread | raw e-mail | index | archive | help
t=file.gz.tar.gz echo ${t%.gz} echo ${t%%.gz} i've been trying to figure out the difference between using 1 or 2 "%" in my expansions, but haven't had any luck! whether 1 or 2, i can't see any difference. -------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970514002319.4631B-100000>