Search Results

Search: Posts Made By: vijay_rajni
2,875
Posted By bartus11
Try: awk 'BEGIN{"date +%d/%m/%y"|getline...
Try: awk 'BEGIN{"date +%d/%m/%y"|getline d}NR==1{$3=$3" today"}NR==2{$3=$3" =="}NR>2{$3=$3" "d}1' file
1,719
Posted By Yoda
Here is a brief explanation: awk ' #...
Here is a brief explanation:
awk '
# Skip first two records of input file
NR > 2 {
# Set variable V = $0 (current record)
V = $0
...
1,719
Posted By Yoda
Change print A[T[n]], T[n], "IS DUPLICATE OF...
Change
print A[T[n]], T[n], "IS DUPLICATE OF \"" M[T[n]], T[n] "\""
To
print T[1], T[n], "IS DUPLICATE OF \"" M[T[n]], T[n] "\""
1,742
Posted By Yoda
awk ' NR > 2 { ...
awk '
NR > 2 { # Skip first 2 lines
n = $1 # Set n = 1st field
# Substitute every...
Showing results 1 to 4 of 4

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