Search Results

Search: Posts Made By: DHeisenberg
799
Posted By DHeisenberg
The below code will print all the lines...
The below code will print all the lines containing the required pattern,

awk '/S[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]B/{print}' file.txt

Ex:
file.txt
abcS12345678B hidi
ghdgh S87654321B...
Showing results 1 to 1 of 1

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