DATA_DIR=/home/liupan/.navinsight/gm result="" for i in $(ls -a $DATA_DIR) do if [ $i != "." -a $i != ".." ] then result=$result$i"," fi done echo $result 该代码将data_dir下的所有文件夹的名字拼接成以逗号分隔的字符串
慢慢弄清楚.. M. Tim Jones, 顾问工程师, Emulex Corp. M. Tim Jones 是一名嵌入式软件工程师,他是 Artificial Intelligence: A Systems Approach, GNU/Linux Application Programming(现在已经是第 2 版).AI Application Programming(第 2 版)和 BSD Sockets Programming from a Multilanguage Perspec
参考:http://processors.wiki.ti.com/index.php/UBIFS_Support#Creating_UBIFS_file_system UBIFS UBIFS may be considered as the next generation of the JFFS2 file-system. JFFS2 file system works on top of MTD devices, but UBIFS works on top of UBI volumes an