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,
OK, i´ve got a file with several fields (its coming from an excel file) I have to integrate this with a cobol application that is expecting some file format to create its tables from such file.
I can get the excel file, remove all the fields that i dont need, order them...
The problem is...
Hi PHV !!!
ummmmmm im afraid i cant get this to work... im sure im doing something wrong.
I dont know the meaning of "%32.32s", could you comment the line? (sorry for the abuse)
Also, how will be the actual awk statement if i have for example 2 fields and one has to be 9 char long and 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.