본문 바로가기

Astro Coke

검색하기
Astro Coke
프로필사진 astrodoo

  • 분류 전체보기 (47)
    • Computer Setup (47)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   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
Tags
  • vim
  • openmp
  • python
  • virtual
  • Visual Studio
  • datascience
  • MAC
  • HDF5
  • SSH
  • polyglot
  • intel compiler
  • conda
  • hyperref
  • cygwin
  • h5py
  • vi
  • portforwarding
  • jupyter
  • Windows
  • arXiver
  • tab space
  • GSL
  • c++
  • mpi4py
  • LaTeX
  • gfortran
  • Matplotlib
  • Anaconda
  • HFS+
  • cython
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록^M (1)

Astro Coke

[Vi] change the file type between dos and unix

source: https://kb.iu.edu/d/acux There are two methods for converting the file type between dos and unix. 1) vim, use :set ff=unix to convert to Unix; use :set ff=dos to convert to Windows. 2) show ^M and remove it: :e ++ff=unix It force-set the fileformat as unix without actually changing the contents. So vim reads it like a Unix file, sees the CR characters as extra and displays them as ^M. In..

Computer Setup 2019. 5. 10. 19:54
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.