Search Results

Search: Posts Made By: unknownn
3,437
Posted By unknownn
Afraid I'm running this under OS X. awk gives...
Afraid I'm running this under OS X.
awk gives me:
awk: can't open file in source line number 1
nawk is unavailable.

Edit: Your second solution works wonderfully. Thank you very much.
3,437
Posted By unknownn
Gsub regex not working
I have a number of files that I pass through awk/gsub.

I believe to have found a working regex and on 'test bed' sites it matches, however within gsub it does not.

Examples:
Initial data:...
928
Posted By unknownn
[Solved] Removing an 8 character string
Edit: Figured it out. Close the thread please.

Solution:
\[[a-fA-F0-9]{8}\]

edit by bakunin: no need to close the thread, but i changed the title to SOLVED. Thanks for writing a follow-up.
Showing results 1 to 3 of 3

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