Search Results

Search: Posts Made By: Dickalicious
7,335
Posted By Dickalicious
Update
What I'm currently trying is the following:

nl="@@^@@"
del="@@;@@"

sed 's/\$nl/\012/' < temp2 > temp3
sed 's/\$del/\054/' < temp3 > temp4

but the first sed call empties the file...
7,335
Posted By Dickalicious
Using sed with strings of special characters
Hey, I'm having trouble figuring out the syntax for using sed with string of non-printable characters. What I have is the following format:
...
3,805
Posted By Dickalicious
Thanks a lot, the sed one worked like a charm. I...
Thanks a lot, the sed one worked like a charm. I had tried 100 different things with sed trying to get the syntax right. The awk one gives syntax errors tho. Thanks again.
3,805
Posted By Dickalicious
There isn't a specific minimum, just something...
There isn't a specific minimum, just something that would be abnormal to have in the middle of text. You can assume that you can put a new line in for any place that has more than 10 spaces. That...
3,805
Posted By Dickalicious
Not working yet...
I'm not sure if you understood me entirely. I assume you meant -e instead of -r in your commands? Because my shell doesn't recognize a -r argument for sed. When I used -e it simply cleared my...
3,805
Posted By Dickalicious
Sh scripting problem, matching specific white space
Hey, I'm desperately in need of a solution to a seemingly easy problem. How can I match a specific number of spaces and replace them. As in, I have a file that instead of being broken into parts by...
Showing results 1 to 6 of 6

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