I have a text like:
it's like a foo.
it's like a bar.
it's like a bar.
it's like a foo.
I want to remove the indentation or space at the first line and remove the same count of indentation or space in the following lines.
If the following lines space or indentation is less than the count of space or indentation in first line, then remove the all space or indentation at the beginning.
The output is:
it's like a foo.
it's like a bar.
it's like a bar.
it's like a foo.