Search Results

Search: Posts Made By: spartan22
12,751
Posted By alister
Or better yet, don't use regular expressions. A...
Or better yet, don't use regular expressions. A regular expression is only needed when matching an indeterminate string. In this case, you know the string, a single dot, so index() is sufficient....
12,751
Posted By scottaazz
You were close in your piece of code... use...
You were close in your piece of code...

use
awk '$1 ~ "\\."' file
12,751
Posted By spacebar
This will print the line if column1 contains a...
This will print the line if column1 contains a period(.):
awk '$1~/\./ {print $0}'
2,547
Posted By Corona688
while read LINE do ans_dump "${LINE}"...
while read LINE
do
ans_dump "${LINE}" channel=dnsw32
done < inputfile

---------- Post updated at 12:36 PM ---------- Previous update was at 12:35 PM ----------

Depending on how...
Showing results 1 to 4 of 4

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