title: Expand a possible relative path in bash
body: <p>As arguments to my script there are some file paths.  Those can, of course, be relative (or contain ~). But for the functions I've written I need paths that are absolute, but do not have their symlinks resolved.</p>
  
  <p>Is there any function for this?</p>