Original Poster
Posted 2006-09-26 22:29 · 中国 广东 深圳 天威有线宽带(关内)
新手上路
★
Credits 6 Posts 1 Joined 2006-09-23 02:00 19-year member UID 63416 Gender Female From SZ
Status Offline
To redirect all the lines found by the command `grep -d+ name *.*` into another file named `name.c`, you can use the following command:
`grep -d+ name *.* > name.c`
Floor 2
Posted 2006-09-27 04:27 · 中国 北京 联通
金牌会员
★★★★
Credits 2,902 Posts 1,147 Joined 2006-09-21 12:00 19-year member UID 63324 Gender Male
Status Offline
Is this a Linux command? Not posted to the Linux section?
Floor 3
Posted 2006-11-06 09:55 · 中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386 Posts 4,938 Joined 2006-07-23 17:10 19-year member UID 59080
Status Offline
Try this:
grep -d+ name *.*>>name.c
Recent Ratings for This Post
( 1 in total)
Click for details
Rater Score Time
redtek
+2
2006-11-09 02:45
Forum Jump:
— Select —
站务公告 & 版主讨论
意见反馈 & 网友交流
DOS学习入门 & 精彩文章 (教学室)
DOS疑难解答 & 问题讨论 (解答室)
DOS启动盘 & LOGO技术 (启动盘室)
DOS批处理 & 脚本技术(批处理室)
DOS媒体世界 & 网络技术 (多媒体室)
DOS汉化世界 & 中文系统 (中文化室)
DOS开发编程 & 发展交流 (开发室)
DOS软件下载 & 游戏分享 (下载室)
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区
其它操作系统综合讨论区
WinPE、PowerShell及其它命令行系统专区
贴图灌水、文学娱乐专区
网络日志(Blog)
论坛回收站
├ 链接失效,待修正