|
发表于 2010-4-8 11:14:24
|
显示全部楼层
sed '/^$/d'
grep \n order.txt
- imghchco [ ~ ]0$ cat order.txt
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/29cc990e-7fb0-4667-987d-140284184157.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/b6b49001-6250-40dc-bc7f-ba4117856075.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/e4555ae5-031c-4828-ace6-038c41958c36.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/48fa0fa7-6dc2-45ea-9771-28b3cf1e65cd.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/f366f760-0bf7-4dbb-b27d-5354752448a7.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/2d07bda5-d553-4d04-b38a-7cc7ba03b7ce.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8c7fc132-e328-4860-ab7b-582f853c6776.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/bec9e2dc-68f5-4b31-a3b9-fb1d84d02a85.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/fcfae636-7c0b-405c-953b-f27ca0f09ae4.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8c091a14-ebb3-4e73-9feb-1399e8d6a187.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/e8654e25-d29b-4c6a-af08-23c839006029.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/bf510915-064e-4454-8c80-37a83f790c43.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/49189031-ccd7-4c9f-9b42-03c4f0953c26.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/cf7d8396-bb81-42ab-9b5f-21b76b0641fb.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8d20c4e1-3804-41e1-acf5-126cdaf54c86.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/40b4cf20-601a-4fd4-b51b-55c3af83d4d3.rar
- imghchco [ ~ ]0$ grep \n order.txt
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/29cc990e-7fb0-4667-987d-140284184157.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/b6b49001-6250-40dc-bc7f-ba4117856075.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/e4555ae5-031c-4828-ace6-038c41958c36.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/48fa0fa7-6dc2-45ea-9771-28b3cf1e65cd.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/f366f760-0bf7-4dbb-b27d-5354752448a7.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/2d07bda5-d553-4d04-b38a-7cc7ba03b7ce.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8c7fc132-e328-4860-ab7b-582f853c6776.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/bec9e2dc-68f5-4b31-a3b9-fb1d84d02a85.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/fcfae636-7c0b-405c-953b-f27ca0f09ae4.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8c091a14-ebb3-4e73-9feb-1399e8d6a187.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/e8654e25-d29b-4c6a-af08-23c839006029.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/bf510915-064e-4454-8c80-37a83f790c43.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/49189031-ccd7-4c9f-9b42-03c4f0953c26.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/cf7d8396-bb81-42ab-9b5f-21b76b0641fb.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8d20c4e1-3804-41e1-acf5-126cdaf54c86.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/40b4cf20-601a-4fd4-b51b-55c3af83d4d3.rar
- imghchco [ ~ ]0$
复制代码
- imghchco [ ~ ]0$ cat order.txt | sed '/^$/d'
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/29cc990e-7fb0-4667-987d-140284184157.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/b6b49001-6250-40dc-bc7f-ba4117856075.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/e4555ae5-031c-4828-ace6-038c41958c36.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/48fa0fa7-6dc2-45ea-9771-28b3cf1e65cd.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/f366f760-0bf7-4dbb-b27d-5354752448a7.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/2d07bda5-d553-4d04-b38a-7cc7ba03b7ce.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8c7fc132-e328-4860-ab7b-582f853c6776.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/bec9e2dc-68f5-4b31-a3b9-fb1d84d02a85.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/fcfae636-7c0b-405c-953b-f27ca0f09ae4.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8c091a14-ebb3-4e73-9feb-1399e8d6a187.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/e8654e25-d29b-4c6a-af08-23c839006029.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/bf510915-064e-4454-8c80-37a83f790c43.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/49189031-ccd7-4c9f-9b42-03c4f0953c26.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/cf7d8396-bb81-42ab-9b5f-21b76b0641fb.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/8d20c4e1-3804-41e1-acf5-126cdaf54c86.rar
- http://bbsrrs1.joy.cn/56B0C540017CAAF69DC88E6AD105D392/BBS/up_file/2010-03-03/40b4cf20-601a-4fd4-b51b-55c3af83d4d3.rar
- imghchco [ ~ ]0$
复制代码 |
|