/
niceSOFT
/
make
Обзор
Документация
Войти
/
niceSOFT
/
make
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
tests/scripts/functions/strip
43 строки
1 KB
Paul Smith
* tests/scripts/*: Switch TAB chars to #TAB# markup
24 авг 2025, 21:29
24 авг 2025, 21:29
fdcaaed
Код
Авторство
О чём код?
# -*-perl-*- $description = "The following test creates a makefile to verify the ability of make to strip white space from lists of object.\n"; $details = "The make file is built with a list of objects that contain white space These are then run through the strip command to remove it. This is then verified by echoing the result.\n"; # Zippy the Pinhead quotes... run_make_test(q!TEST1 := "Is this TERMINAL fun? What makes you believe is this terminal fun? JAPAN is a WONDERFUL planet -- I wonder if we will ever reach their level of COMPARATIVE SHOPPING..." E := TEST2 := $E try this and#TAB##TAB#this #TAB#$E define TEST3 and these#TAB# test out some blank lines endef .PHONY: all all: #TAB#@echo '$(strip $(TEST1) )' #TAB#@echo '$(strip $(TEST2) )' #TAB#@echo '$(strip $(TEST3) )' !, "", "\"Is this TERMINAL fun? What makes you believe is this terminal fun? JAPAN is a WONDERFUL planet -- I wonder if we will ever reach their level of COMPARATIVE SHOPPING...\" try this and this and these test out some blank lines "); run_make_test(q! space: ; @echo '$(strip ) $(strip #TAB# )' !, "", " \n"); 1;