본문 바로가기 메뉴 바로가기

끄적 끄적 로깅! 로깅!

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

끄적 끄적 로깅! 로깅!

검색하기 폼
  • All (158)
    • 리뷰 (7)
    • 운영체제 (37)
    • 프로그래밍 (34)
    • 엔지니어링 (43)
    • 빅데이터 (9)
    • 머신러닝 (1)
    • 프로젝트 (1)
    • 운영관리 (20)
    • 보안 (2)
    • 유틸 (4)
  • 방명록

구조화된문자열 (1)
Perl 구조화된 문자열 정규표현식 치환

치환 전 user.txt 12345name age bloodprotos 120 Azerg 10 Bterran 33 Onara 50 ABcs zerg의 blood 정보를 Z 로 치환1perl -pi -e 's/(zerg)\s([^\s]+)\s([^\s]+)/\1 \2 Z/g' user.txtcs 치환 후 user.txt 12345name age bloodprotos 120 Azerg 10 Zterran 33 Onara 50 ABcs

엔지니어링 2017. 2. 8. 17:04
이전 1 다음
이전 다음
    끄적 끄적 로깅! 로깅!
    warpmemory
    공지사항
    최근에 올라온 글
    최근에 달린 댓글
    Total
    Today
    Yesterday
    페이지
    • 추천사이트
    TAG
    • check
    • Ansible
    • command
    • Windows
    • PowerShell
    • Python
    • limits
    • 코드
    • error
    • 외부링크
    • httpd
    • configuration
    • 번역
    • apache
    • mysql
    • 예제
    • Module
    • engineering
    • Web
    • deview
    • File
    • example
    • MariaDB
    • 명령어
    • monitoring
    • code
    • 이슈처리
    • client
    • RESTful
    • Linux
    more
    «   2025/05   »
    일 월 화 수 목 금 토
    1 2 3
    4 5 6 7 8 9 10
    11 12 13 14 15 16 17
    18 19 20 21 22 23 24
    25 26 27 28 29 30 31
    글 보관함

    Blog is powered by Tistory / Designed by Tistory

    티스토리툴바