Hi,

How can I perform suffix removal as this (bash) command:

nameis=${dataset%.*}


if dataset is a filename with extension (say foo.txt), nameis will only
contain "foo".
Is there a way to do that with fish?

Thanks,

-- 
Aurélien Coillet
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to