Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
テキストファイル内の行を見つけて削除したい。元:
aaa aaa bbb -> ccc (bbb deleted) ccc
それを行う例がありますが、新しいファイルに書き込み、書き換えます。別のファイルに書き込むことなくそれを行う方法(同じファイルには多くのデータが含まれているため、同じファイルに書き換えることもありません)
私はCLを始めたばかりで、Windows XP64のEmacs v24でCCL + Slimeを使用しています。次の問題が発生しています。
これらの 3 つの式を REPL に入力すると、意図した結果、"Something" というテキストを含むファイルが得られます。
(defparameter *file-o