Search Results

Search: Posts Made By: Brandt
2,788
Posted By Brandt
sorry if i misunderstood expression, but would ...
sorry if i misunderstood expression, but would

who|grep -v "user name"|awk '{print $1}' suffice?
2,920
Posted By Brandt
Simple Search and Replace - Revisited
I have a ascii file with lines like this:
240|^M\ ^M\^M\ Old Port Marketing order recd $62,664.- to ship 6/22/99^M\

when this record gets loaded into my database, the \ is stored literally and so...
3,968
Posted By Brandt
i think i get the gist, i was able to use this...
i think i get the gist, i was able to use this script to clean up a few other anomalies as well.

thank you very much, i was to the point of asking the users if they really needed those records......
2,666
Posted By Brandt
Just a comment on the comma delimited issue, i am...
Just a comment on the comma delimited issue, i am no PERL or XLM person, but if you delimit with | instead of commas, your , and " issues go away and very rarely do people store | (pipes) in their...
3,968
Posted By Brandt
sweet! looks like voodoo to me, if you have the...
sweet! looks like voodoo to me, if you have the patience to explain what that script did, i would love to learn more about it.

thank you very, much!!!!
3,968
Posted By Brandt
thanks, this has been really helpful, but i need...
thanks, this has been really helpful, but i need to run this on several files that have >1000000 records, which i can break down into smaller files if need be (migrating data in case you haven't...
3,968
Posted By Brandt
thanks, but it does not join all of the ^Ms ...
thanks, but it does not join all of the ^Ms

240|^M\
^M\
^M\
Old Port Marketing order recd $62,664.- to ship 6/22/99^M\
^M\
^M\
^M\
^MCompleted by: C. Malczynski|


becomes:

240|^M\...
3,968
Posted By Brandt
Simple? Search replace
in vi, if i type ctrl-J, i can shift the next line up to the current line.
I need to do this whenever a specific string exists (in particular ^M) ,however i have not been able to find a way to do...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 06:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy