Search Results

Search: Posts Made By: forumbaba
6,979
Posted By Chubler_XL
tr -d deletes all occurances of the list of...
tr -d deletes all occurances of the list of characters it gets eg try tr -d ',123' and see what it does.

sed is probably the way to go here try:

echo '..., word1, word2, word3...' | sed...
6,979
Posted By agama
If you are trying to delete literal dots (...)...
If you are trying to delete literal dots (...) and not something else:


echo '..., word1, word2, word3...' | sed 's/\.\.\.,*//g'
15,033
Posted By yazu
awk ' /'"$a"'/ {flag=1;next} /'"$b"'/{flag=0}...
awk ' /'"$a"'/ {flag=1;next} /'"$b"'/{flag=0} flag { print }' file
Showing results 1 to 3 of 3

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