Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] bash: how to get file extension
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Fri, 19 Jul 2013 22:14:33 +0200 (CEST)
  • Message-id: <alpine.LNX.2.00.1307192212490.2653@Telcontar.valinor>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Friday, 2013-07-19 at 17:02 +0100, ianseeks wrote:

Scan backwards from the end until you get a "." ?

Yes, that's how i would do it if i were to code it from scratch. But here we try to do it from programs and primitives ready done and usable from bash.

- -- Cheers,
Carlos E. R.
(from 12.3 x86_64 "Dartmouth" at Telcontar)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlHpnjAACgkQtTMYHG2NR9W+4gCeOexVExdd9g6V5RilinNlfKM9
oqoAn15sXE9mmPZxdVVxPKgeT1X4xI61
=XJVn
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References