D
D
dk-web2015-10-17 21:07:53
git
dk-web, 2015-10-17 21:07:53

What is LF, CLRF and how to deal with it?

Not for the sake of a holivar, but it boiled over ...
Here they invented - frameworks, galpas, gits, bashes ... mvc solid - what the hell will break your leg ...
instead of two or three pages of shitty code - you need to spawn a shitty cloud of configs, folders, which in a week you don’t remember where anything is, and I never opened half of the files at all ...
I knew that sooner or later I would get bored with all this tedium ..
attention to the question:
since all these mega-super developers, coders, programmers - so What the hell is needed to make these super convenient inventions work - you need to ask two hundred questions on all sites? and if it’s simpler, why the hell don’t they work normally initially ?? and do not talk about straight-curved hands.
exactly what I was pissed off about:
I decided to make a clean blank laravel project on version 5.1 (from there all sorts of basic goodies - in the form of authorization, basic views were cut out), with a screwed admin panel, well, in general, to quickly deploy it all ...
I thought - well, why did I master the mammoth frameworks ! galpas, nodes, a package for lava, wrote laravel ugh, but I don’t know how to use github ...
installed ... again fort-bayard - click it, don’t click it ...
and as a result, after git init, git add . - I get 500 thousand lines:
the file will have its original line endings..
warning: LF will be replaced by CRLF in...
well, what the hell? it's still wasting time delving into what it is - what threatens it, how to get rid of it, is it necessary ... or do you still need to install 20 packages?
instead of real development, for the last week I have only been doing something that will make my life 100% easier ... but instead, I already forgot what css and layout are - because I only do what I customize! fictitious standards under someone ... and when you seem to be "fuhh it works" - you get in response that "damn it .... the principle of injection or induction or the only irresponsibility is violated"
in short, something tells me that he uncle, someone's boss, who forced me to write in procedural, without any mvc and frameworks - right .....
sorry, it hurt.
and this one... after all - LF and CLRF is it deadly?
P.s. I installed wine 10 last night after all ... I'm not overjoyed ... 4.9 out of 5!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Zhukov, 2015-10-17
@dk-web

When I first took up this business, it also didn’t work without a mat. Killed a lot of time for all the proceedings.
These are string translation directives. So that there are no jambs between Windows / Unixes / Poppies and others in line breaks.
I made autocrlf = false in my config and this question didn't bother me anymore.

S
Saboteur, 2015-10-18
@saboteur_kiev

Do you consider yourself a programmer and still don't know what is crlf in Windows and lf in Linux?
The setting in git exists natively.
The line wrapping problem has existed since DOS and Windows appeared with their own encoding. And no matter what they invent now, this problem will remain. More precisely, it's not a problem if there is a config.
In general, your whining surprises.

T
Trionik, 2021-07-03
@Trionik

I am also suffering, in order to write something simple, I have to spend a lot of time on all sorts of crap, in my soul I’m not interested in what CRLF is, I just need it to work.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question