Search Results

Search: Posts Made By: STiVo
88,882
Posted By STiVo
I guess the newlines would be tricky :rolleyes:...
I guess the newlines would be tricky :rolleyes: but the returns should be removable with..

cat infile.txt | sed 's/\r//g' > outfile.txt

Now you have me wondering.... :confused:
88,882
Posted By STiVo
You could use sed or the tr command to strip off...
You could use sed or the tr command to strip off the characters you don't want. Here is a simple tr example.

This would remove carriage returns:
% cat yourfile.txt | tr -d "\r"

This would...
4,645
Posted By STiVo
Do you have control of the process writing these...
Do you have control of the process writing these logfiles? If so you could just timestamp the log entries....

Or, you could write a script that will mark the logfile every 5 seconds by adding a...
677,417
Posted By STiVo
Well if you can get the user keys working that...
Well if you can get the user keys working that will make things much easier.

Also, why don't you just use scp instead? Or maybe curl?

Something like this...
#!/bin/sh

scp...
1,564
Posted By STiVo
Another sed question
I'm trying to process some files using sed but I'm running into a problem. Let me first show an example- this isn't the actual data I use but it will simplify the problem..

For my example, this is...
Showing results 1 to 5 of 5

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