Quantcast
Channel: Need a way to strip extra CRLFs from the middle of records - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by mklement0 for Need a way to strip extra CRLFs from the middle of...

If all you need is the removal of the field-internal CRLFs, try the following (assumes GNUawk, but it could be made to work with BSD awk as well):awk -v RS='\r?\n''/,[[:digit:]]{4,7}$/ { print; next }...

View Article


Need a way to strip extra CRLFs from the middle of records

We've got a data source that sends us files we need to automatically import into our system, but frequently there is bad data in them in the form of extra CRLFs inside one or two of the fields of some...

View Article

Browsing latest articles
Browse All 2 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>