#!/bin/bash ## fullnameRESLASH -- replaces '[' with SLASH -- by Eugene Reimer 2005-May; ## undoes the effect of fullnameNOSLASH, except the result is still fully-qualified; ## ## Copyright © 2005 Eugene Reimer; can be used, modified, copied, and distributed or sold under the terms of either the LGPL or the GPL (your choice); ## see http://www.gnu.org/licenses for the details of these terms. echo "$1" |sed "s|\[|/|g" ##echo filename, with OPENBRACKET-to-SLASH