Mayank Batra's Technology Blog

  • Home
  • About ME
  • E-Commerce
    • Endeca
    • ATG
  • UNIX
  • Other

Monday, June 26, 2017

Convert file format to unix in a vim

use following command to update the fileformat of a file to unix based file format :


:set fileformat=unix


eg -

[atg@endeca control]$ vi initialize_services.sh

:set fileformat=unix
Posted by Mayank Batra
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Search This Blog

Blog Archive

  • ▼  2017 (13)
    • ►  Jul (1)
    • ▼  Jun (9)
      • ATG-Endeca Integration - NullPointerException: Pro...
      • Error: Could not find or load main class com.endec...
      • Convert file format to unix in a vim
      • Problem : Creating crawl TSL1en_en_last_mile_cra...
      • Create custom names for the Endeca recordstore
      • Deploy an Endeca CAS based application - version 11.0
      • Error creating crawl last-mile-crawl: Unable to lo...
      • FATAL: Multiple root installs found. Only one inst...
      • /bin/sh^M: bad interpreter: No such file or directory
    • ►  Jan (3)
  • ►  2016 (8)
    • ►  Dec (1)
    • ►  Oct (5)
    • ►  Sep (2)
  • ►  2014 (4)
    • ►  Dec (1)
    • ►  Jul (1)
    • ►  Apr (1)
    • ►  Mar (1)

Read-Only

-->
Simple theme. Powered by Blogger.