|
We're building an app which is intended to be deployed onto Windows, Unix, and Mac versions of Splunk. In our app's config files, which OS's line ending format should we use? The question covers a few angles:
|
1
Agreed. I primarily use Unix EOLs in our custom apps which are deployed across platforms, and that has worked well. The notepad thing is an annoyance, but generally you shouldn't do any editing on the deployment client anyways (since any changes would be overwritten on the next deployment). It is a pain when you just want to quickly view a config file. ;-(
(18 Aug '10, 13:38)
Lowell ♦
What do vi users see when they open a Windows-line-ended file? Is the file not editable or not viewable?
(19 Aug '10, 05:36)
Justin Grant
A ^M (i.e., CR) character at the end of every line.
(19 Aug '10, 14:00)
gkanapathy ♦
here is a related, very useful question/answer: http://answers.splunk.com/questions/6369/halp-my-nix-deployment-server-is-propagating-corrupted-configuration-files-to-m
(02 Sep '10, 18:20)
piebob ♦♦
|
