08 2017 档案

摘要:一、简介 Linux下的程序开发人员,一定都遇到过Makefile,用make命令来编译自己写的程序确实是很方便。一般情况下,大家都是手工写一个简单Makefile,如果要想写出一个符合自由软件惯例的Makefile就不那么容易了. 在本文中,将介绍如何使用autoconf和automake两个工具 阅读全文
posted @ 2017-08-22 14:58 soyosuyang 阅读(4544) 评论(0) 推荐(0)
摘要:#!/bin/bash for file in *.txt;do echo $file done for file in *.txt;do { cat $file >>all.txt } done line=$(cat all.txt|sed -n '$=') cat all.tx... 阅读全文
posted @ 2017-08-12 14:12 soyosuyang 阅读(123) 评论(0) 推荐(0)
摘要:#!/bin/bash #soyo1.sh #FILE=$1 NUM=$1 #cat $1 | sed -n "1,${NUM}p" for file in *.txt;do echo $file done for file in *.txt;do { cat $file | sed -n "1,${NUM... 阅读全文
posted @ 2017-08-12 12:55 soyosuyang 阅读(95) 评论(0) 推荐(0)
摘要:#!/bin/bash for file in *.txt;do echo $file done for file in *.txt;do cat $file >>all.txt done 阅读全文
posted @ 2017-08-12 12:52 soyosuyang 阅读(109) 评论(0) 推荐(0)