[Top][All Lists]

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

Remove trailing (back)slash?

From: Edgar
Subject: Remove trailing (back)slash?
Date: Wed, 23 Nov 2011 14:41:17 -0600
User-agent: Thunderbird (Windows/20100228)

Anyone have any idea how to remove a trailing (back) slash from a directory? I want to sanitize the user's input and prevent any double slashes in file paths.

I looked through the gnu make manual, but I can't find any function that seems to do what I want.

reply via email to

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