電腦的世界裡,常常都會遇到字串的處理,分享 Max 遇到的一些個案。
- 從其他檔案置換區塊內容
https://codereview.max-everyday.com/update-block-from-file/ - 搬移檔案到子資料夾:解決檔案數量太多問題
https://codereview.max-everyday.com/batch-make-dir/ - 過濾指定的筆畫數
https://codereview.max-everyday.com/filter_characters/ - 篩選文字檔中的差異百分比結果並輸出特定字元
https://codereview.max-everyday.com/filter_results/ - 檔案名稱前綴管理:批次新增或移除前綴
https://codereview.max-everyday.com/prefix_manager/
文字檔內容處理
- 檔案內容的字串取代
https://codereview.max-everyday.com/replace-string/ - grep 查詢文字檔內容
https://codereview.max-everyday.com/grep/ - head 顯示前幾行
https://codereview.max-everyday.com/head/ - tail 顯示末幾行
https://codereview.max-everyday.com/tail/