Search Results

Search: Posts Made By: paladinaeon
2,753
Posted By Klashxx
A perl: perl -pe 's/@\S+|http:\/\/\S+//g' infile
A perl:
perl -pe 's/@\S+|http:\/\/\S+//g' infile
2,753
Posted By anbu23
sed -e "s?http://[^ ]*??g" -e "s/@aerta//g"...
sed -e "s?http://[^ ]*??g" -e "s/@aerta//g" file
2,753
Posted By RudiC
anbu23's proposal is fine, but you may want to...
anbu23's proposal is fine, but you may want to replace s/@aerta//g by s/@[^ ]*//g so your script will be more generic.
Showing results 1 to 3 of 3

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