Search Results

Search: Posts Made By: turbulence
12,387
Posted By turbulence
I found the solution. Here it is in case anyone...
I found the solution. Here it is in case anyone wants to use it in the future.

sed -e '/CHAR/ !s/^\(.*\) (.*)/\1/'
12,387
Posted By turbulence
Thank you for your help but your command is...
Thank you for your help but your command is giving me an error.

echo "CHAR BASE DESCRIPTION (BSEDS)" | sed 's/^\(CHAR.*\)(.*)/\1/'
sed: -e expression #1, char 21: Unmatched ) or \)
I tried...
12,387
Posted By turbulence
I could use some more help on the same topic. ...
I could use some more help on the same topic. Now I need to use sed to delete the portion of the line in parenthesis if the line begins with CHAR. Thanks everyone.

This is the command I'm...
12,387
Posted By turbulence
Edit: Nevermind, it works now.
Edit: Nevermind, it works now.
12,387
Posted By turbulence
Thanks for your help everyone!
Thanks for your help everyone!
12,387
Posted By turbulence
Delete lines ending in "_;" using sed
I could really use some help with this issue. I'm having a lot of trouble getting my sed command to delete only the lines from my file that end with _;
I'm also supposed to carry the leading 'c'...
31,912
Posted By turbulence
Thanks for the help.
Thanks for the help.
31,912
Posted By turbulence
Searching a string for a character
I have a co-worker that is trying to make a Wheel of Fortune game and he wants to know if there is a way to search a string for the letter given by the user.
2,901
Posted By turbulence
Thanks a lot, that is working.
Thanks a lot, that is working.
2,901
Posted By turbulence
Trying to space columns in a report
I have a program that calculates shipping cost for an item and prints the information to a file. I cannot seem to get the lines to print with equal spacing in columns.

I need data like this to be...
Showing results 1 to 10 of 10

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