?? filter-out
字號:
# -*-perl-*-$description = "Test the filter-out function.";$details = "The makefile created in this test has two variables. Thefilter-out function is first used to discard names ending in.o with a single simple pattern. The second filter-out functionaugments the simple pattern with three literal names, which arealso added to the text argument. This tests an internal hash tablewhich is only used if there are multiple literals present in boththe pattern and text arguments. The result of both filter-outfunctions is the same single .elc name.\n";open(MAKEFILE,"> $makefile");print MAKEFILE <<'EOF';files1 := $(filter-out %.o, foo.elc bar.o lose.o)files2 := $(filter-out foo.i bar.i lose.i %.o, foo.i bar.i lose.i foo.elc bar.o lose.o)all: ; @echo $(files1) $(files2)EOFclose(MAKEFILE);&run_make_with_options($makefile, "", &get_logfile, 0);$answer = "foo.elc foo.elc\n";&compare_output($answer,&get_logfile(1));1;
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -