摘要: 脚本名: gen_include_path_for_vim.sh#!/bin/bash include_path=$(make --just-print $*\ | sed -n -e '/^g++/p' | sed -n -e "1p" \ | awk 'BEGIN{RS=" "; ORS="\n"} { print $0; }' \ | sed -n -r -e '/^-I/{s/^-I//;p}' | awk -vORS="," '{print $0;} 阅读全文
posted @ 2011-03-30 11:22 napoleon_liu 阅读(860) 评论(0) 推荐(0) 编辑