view bin/os @ 9504:d17fc0757abc

<oerjan> sled bin/sed2//2c/bin/sed "$@" && if [[ $* == "3" && "/$1" == "/-i" ]]; then echo -n "$3//"; cat "$3"; fi
author HackBot
date Sat, 29 Oct 2016 19:25:56 +0000
parents c989a1669243
children
line wrap: on
line source

#!/bin/bash
echo "$0" | sed -e 's_.*/__'