Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question Am trying to redirect the file based on the length. I have a file having the value, I like Linux I have to create a
Tag: substring
Shell substring with sed in a variable
I have tried this command in bash linux The output is value. But if I put it in a variable, it doesn’t work. For example: The output is nothing. What wrong? Answer Do it like this: