(some docs at http://alexautils.sourceforge.net/text.html the package itself at http://alexautils.sourceforge.net/coreutils-4.5.3-alexa02.tar.gz)
the version of cut has many many extensions, including the one you're after.
Use :
cut -d/ +1
where the "+" means count from the end.
adj
At 8:21 AM +0100 11/27/02, Fabrizio Morbini wrote:
Hi, I have a question on the command "cut": -For example immagine that I want to select the filename from an absulute path (and the files hasn't all the same depth).How I can ask to cut to start to count the delimiter '/' from the end of the string instead of from the start? There are other solution? Thank you very much and Best Regards! Fabrizio. _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils
_______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils