Miscellany
public shellscript v1 · immutable#!/bin/bashfor $x in $*; do t = `readlink "$x"` if [ "x$t" != "x" ]; then rm "$t" "$x" echo $t and symlink $x deleted else rm "$x" echo $x deleted fidone;#!/bin/bashfor $x in $*; do t = `readlink "$x"` if [ "x$t" != "x" ]; then rm "$t" "$x" echo $t and symlink $x deleted else rm "$x" echo $x deleted fidone;