1
I’m making a script that works with directories that have suffixes defined and separated by "." for example "folder.teste.git" or "things.var" and would like to take as variable only the prefix eliminating the last part (e.g., the name "folder.test" or "things").
I tried with the cut and the grep but I could not take it back. N~]ao I was able to eliminate the last occurrence after the ".".
I had come here exactly to answer my own question rsrs... Man, thank you!
– Everton
You’re welcome to have.
– Fernando Silveira