⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 compile_mtemplate_sed.sh

📁 这是一个从音频信号里提取特征参量的程序
💻 SH
字号:
#! @SH@# file: $isip/scripts/make/compile_mtemplate_sed.sh## inputs will come from stdin and contain a single object file stem# name. These names will first have the source file, a period, then# have the template arguments seperated by periods. For example,##   mscl_00.cc for MScalar<Long,long> would look like:#   mscl_00.Long.long## the first will be the root name, where the source file can be found#if (test "$1" = "source_name") then    @SED@ -e 's/\..*$//' -e 's/^\(.*\)$/\1.cc/' fiif (test "$1" = "modifier") then    @SED@ -e 's/^[^\.]*\.//' -e 's/^\(.*\)$/\1~/' -e 's/\~\([^\~]*\)\~/~\1/' -e 's/\.\([^\~]*\)\~/_\1~/' -e 's/\.\([^\~]*\)\~/_\1~/' -e 's/\.\([^\~]*\)\~/_\1~/' -e 's/\~/\./' -e 's/^\(.\)/\.\1/' -e 's/\./\ -DISIP_TEMPLATE_/g' -e 's/\-DISIP_TEMPLATE_$//'fi# the template args will be the full template args, seperated by# commas#if (test "$1" = "template_args") then    @SED@ -e 's/^[^.]*\.//' -e 's/.o$//' -e 's/\./,/g' -e 's/\~.*$//' -e 's/\_1/\</' -e 's/\_2/\>/'fi# t1 is the first template argument#if (test "$1" = "t0") then    @SED@ -e 's/^[^.]*\.\([^.]*\).*$/\1/' -e 's/\~.*$//' -e 's/\_1/\</' -e 's/\_2/\>/'fi# t2 is the second template argument#if (test "$1" = "t1") then    @SED@ -e 's/^[^.]*\.[^.]*\.\([^.]*\).*$/\1/' -e 's/\~.*$//' -e 's/\_1/\</' -e 's/\_2/\>/'fi# t3 is the third template argument#if (test "$1" = "t2") then    @SED@ -e 's/^[^.]*\.[^.]*\.[^.]*\.\([^.]*\).*$/\1/' -e 's/\~.*$//' -e 's/\_1/\</' -e 's/\_2/\>/'fi## end of file

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -