ed value of $param.
When a negative `offset' begins with a minus sign, however, unexpected things can... one in our first programming task.
If we used #*/ instead of ##*/, the expression would have the incorr... ct value dave/pete/fred/bob, because the shortest instance of "anything followed by a slash" at the beg... nce dirname takes exactly one argument (and complains if given more) and basename takes one argument an