Posted By

jlmarks on 03/30/14


Tagged

path Bash folder linux directory foldername


Versions (?)

Ensure string ends with a /


 / Published in: Bash
 

  1. [[ $string != */ ]] && string="$string"/

Report this snippet  

You need to login to post a comment.