📄 cnvlab.test
字号:
#! /bin/sh # test script for fbuttons# @(#)cnvlab.test 1.1 5/30/91 ERL#set -xcat > t.lab << ZAP2200 7000 don't7000 10480 ask11760 14720 me14720 16760 to16760 23979 carry23979 26223 an26223 32292 oily32292 39530 rag39530 44040 like44040 49660 thatZAPcat > test1.expout << ZAP11st label in file t.lab doesn't start at time 0Labels at 11760 in file t.lab are not contiguous# 0.137500 125 UNL 0.437500 121 don't 0.655000 121 ask 0.735000 125 UNL 0.920000 121 me 1.047500 121 to 1.498687 121 carry 1.638937 121 an 2.018250 121 oily 2.470625 121 rag 2.752500 121 like 3.103750 121 thatZAP1cat > test2.expout << ZAP2# 0.137500 125 don't_S 0.437500 121 don't_E 0.437500 125 ask_S 0.655000 121 ask_E 0.735000 125 me_S 0.920000 121 me_E 0.920000 125 to_S 1.047500 121 to_E 1.047500 125 carry_S 1.498687 121 carry_E 1.498687 125 an_S 1.638937 121 an_E 1.638937 125 oily_S 2.018250 121 oily_E 2.018250 125 rag_S 2.470625 121 rag_E 2.470625 125 like_S 2.752500 121 like_E 2.752500 125 that_S 3.103750 121 that_EZAP2echo "Testing cnvlab with one output label per input label"rm -f test1.outcnvlab -s 16000 t.lab test.out 2> test1.outcat test.out >> test1.outecho "There should be no diff output:"diff test1.out test1.expoutecho " "echo "Testing cnvlab with two output labels per input label (-b)"rm -f test2.outcnvlab -s 16000 -b t.lab test.out 2> test2.out cat test.out >> test2.outecho "There should be no diff output:"diff test2.out test2.expoutecho " "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -