I'm looking for a method to retrieve the first 30 characters from every line in a file. I'm guessing maybe sed could accomplish this, but I'm taking the easy route and asking you the experts. Any help is greatly appreciated.
Of course, is better to do as elgrandeperro suggested. I post this just to confirm that you guessed correctly, it can also be solved with [tt]sed[/tt] :
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.