Public Notes by chase_ats Tagged #text_manipulation

Notes publicly shared by our members.
USEFUL ONE-LINE SCRIPTS FOR SED (Unix stream editor) #grep #sed #cli #commands #dev #scripting #utilities #text_manipulation #issues #tidbits #pub
Issue with Ruby pry history duplicating. Been having this issue for so long. Pretty sure on macOS and Linux Ubuntu 14 VM. Both. #grep #sed #cli #commands #dev #scripting #utilities #text_manipulation #bookmarked_on_site #%stack_overflow #issues #tidbits #pub
Make all lines uniq (make duplicate consecutive line appear only once): Code: awk '{sub(".*"$2,$2)}1' yourfile | uniq #grep #cli #commands #dev #scripting #utilities #text_manipulation #tidbits #discussions #issues #awk #pub