https://github.com/epiqc/ScaffCC
Revision e58d7db6b04dcb78752ab1ce88022811062f7a79 authored by ah744 on 07 October 2016, 00:42:34 UTC, committed by ah744 on 07 October 2016, 00:42:34 UTC
1 parent ccce8b1
Raw File
Tip revision: e58d7db6b04dcb78752ab1ce88022811062f7a79 authored by ah744 on 07 October 2016, 00:42:34 UTC
New Intrinsics location
Tip revision: e58d7db
basename.sh
#!/bin/bash

# Yes, a basename util does exist, but it is not the same between Ubuntu and Debian
# No, existance is not checked; that is handled by the programs that use this as an input
var=${1##*/}
var=${var%%.scaffold}
echo ${var%%.scaf}
back to top