X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e7aef48f33e934106d1a50201d9f098f9886d7ec..33230b65afa1076218abff057d0bbcc7486af0a8:/.zsh/func/baseconv diff --git a/.zsh/func/baseconv b/.zsh/func/baseconv deleted file mode 100755 index 3c97468..0000000 --- a/.zsh/func/baseconv +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/zsh -# -# func/baseconv -# -# zsh-based conversion between numeric bases -# -# Copyright © 1994–2008 martin f. krafft -# Released under the terms of the Artistic Licence 2.0 -# -# Source repository: git://git.madduck.net/etc/zsh.git -# - -if [ $# -ne 3 ]; then - echo Usage: ${0##*/} ibase obase number - return 1 -fi - -typeset -li $2 var -eval ((var=${1}#${3})) -echo ${var#*\#}