Hi everybody,
I´m afraid this is something very stupid, but is driving me mad!!
I cant find a way to remove a ^M mark. That mark is^M present at the end of the line like this one^M
^M
^M (this i get if the line is empty)
I can see it only when I edit the file with vi (if i do a 'more' of the...
Hi,
I am trying to convert a file to a particular format.
What i want is to get field $5 (for example) 32char long so, if its less than 32, add chars up to 32 and if its more than 32, cut them down...
I think it will be something like :
if (length($5) < 32) {
while (length($5) <33 {...
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.