📄 foobar-config.sh
字号:
#!/bin/sh## foobar-config.sh -- a generic foobar-config shell script generator## This generator takes 3 arguments and creates a foobar-config shell# scirpt that is used to determine the common CFLAGS for compiling# again this foobar package, LIBS for linking against dependency libs# and VERSION for displaying which version is used/installed.## Derived from Ulric Eriksson <ulric@siag.nu> from the libsdb project.## Stipe Tolj <tolj@wapme-systems.de>#cat << EOF#!/bin/shusage(){ echo "usage: \$0 [--cflags] [--libs] [--version]" exit 0}cflags=nolibs=noversion=notest "\$1" || usagewhile test "\$1"; do case "\$1" in --cflags ) cflags=yes ;; --libs ) libs=yes ;; --version ) version=yes ;; * ) usage ;; esac shiftdonetest "\$cflags" = yes && cat << FOO$1FOOtest "\$libs" = yes && cat << FOO$2FOOtest "\$version" = yes && cat << FOO$3FOOEOF
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -