Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Tim2424
4,794
Posted By Tim2424
How to put the command to remove duplicate lines in my awk script?
I create a CGI in bash/html.


My awk script looks like :


echo "<table>"
for fn in /var/www/cgi-bin/LPAR_MAP/*;
do
echo "<td>"
echo "<PRE>"
awk -F',|;' -v test="$test" '
NR==1 { ...
4,633
Posted By Tim2424
Hello ! Finally I use this script : ...
Hello !

Finally I use this script :



awk -F',|;' -v test="$test" '
NR==1 {
split(FILENAME ,a,"[-.]");
}
$0 ~ test {
if(!header++){
...
Showing results 1 to 2 of 2

 

Featured Tech Videos

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