Skip to content

Inserting text in vim causes each line to be shifted right

When I copy some text from one opened window (browser and text editor) to vim by pressing Shift + Insert, The text is inserted in a way that each consecutive line is shifted right with progressive amount of tabs. Meaning that second line is shifted by 1 tab, 3rd line is shifted by 2 tabs, 4th line is shifted …

grep the filename using sed

I have the following line I would like to get and change just the (result_0.01) part to a different text which might include numbers. Preferably I would like this to be done using sed. Thank you in advance. Answer what happens here in sed part is: we substitude (s flag at the beginning of sed) we find everyth…

Bash script wait depended commands processes

I am fairly new in bash scripting. I need to use bash script for manage my microservices, so these services need build and deploy(on docker). So I have commands like that : So as you see(a little part of script, i am grouping depended commands in functions),commands need to wait previous depended commands lik…