head 1.2; access; symbols SHTOOL_1_0_0:1.1.1.1 RSE:1.1.1; locks; strict; comment @# @; 1.2 date 99.04.29.11.21.06; author rse; state dead; branches; next 1.1; 1.1 date 99.04.29.11.19.34; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.04.29.11.19.34; author rse; state Exp; branches; next ; desc @@ 1.2 log @*** empty log message *** @ text @#!/bin/sh ## ## fp2rp -- Convert a Unix forward file path to a reverse dotted path ## Copyright (c) 1999-1999 Ralf S. Engelschall ## Originally written for the Apache configuration mechanism ## Usage: fp2rp ## if [ "x$1" = "x." ]; then rp='.' else rp='' for pe in `IFS="$IFS/"; echo $1`; do rp="../$rp" done fi echo $rp | sed -e 's:/$::' @ 1.1 log @Initial revision @ text @@ 1.1.1.1 log @Import of shtool 1.0.0 @ text @@