sed (605レス)
sed http://mevius.5ch.net/test/read.cgi/unix/1085730992/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
レス栞
307: 名無しさん@お腹いっぱい。 [] 2008/10/27(月) 23:08:07 ファイル内の、スペース+改行をスペースのみに置換したいのですが、 どのように記述すればよいのでしょうか。 データ数が数十万行あるため、ファイルを全部読み込んでから 置換する方法では、容量がオーバーしてしまいました。 http://mevius.5ch.net/test/read.cgi/unix/1085730992/307
308: 名無しさん@お腹いっぱい。 [sage] 2008/10/27(月) 23:26:18 >>307 Perl か何かで書いちゃった方が早いんじゃね? http://mevius.5ch.net/test/read.cgi/unix/1085730992/308
319: 名無しさん@お腹いっぱい。 [sage] 2008/10/28(火) 22:47:24 良く読んで赤面しろw >>318 >>307 「スペース+改行をスペースのみに置換したい」 http://mevius.5ch.net/test/read.cgi/unix/1085730992/319
320: 名無しさん@お腹いっぱい。 [sage] 2008/10/28(火) 22:54:10 >>307 sed ' :again / $/{ N s/?n// b again } ' http://mevius.5ch.net/test/read.cgi/unix/1085730992/320
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
1.041s*