Search Results

Search: Posts Made By: TAPE
1,354
Posted By Yoda
Using bash regexp operator: if [[ "$INPUT" =~...
Using bash regexp operator:
if [[ "$INPUT" =~ ^[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}:[0-9a-fA-F]{2}$ ]]
then
echo "Valid"
else
echo "Invalid"...
1,229
Posted By Scrutinizer
Try: n=2 sed "/\(.\)\(.*\1\)\{$n,\}/d"...
Try:
n=2
sed "/\(.\)\(.*\1\)\{$n,\}/d" file.txt
1,937
Posted By radoulov
awk > list3 'NR == FNR { l2[FNR] = $0 fnr...
awk > list3 'NR == FNR {
l2[FNR] = $0
fnr = FNR; next
}
{
for (i = 0; ++i <= fnr;)
print $0 l2[i]
}' list2 list1
4,523
Posted By durden_tyler
$ $ $ cat f18 BD Address: ...
$
$
$ cat f18
BD Address: 00:24:00:2C:00:76 [mode 1, clkoffset 0x27bc]
Device name: Nokia Test 0
Device class: Phone, Cellular (0x5a0204)
BD Address: 00:24:00:FB:00:9C [mode 1,...
Showing results 1 to 4 of 4

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