]++' file ruby -00 -ne 'puts $_.split("\n").uniq' file perl -ne 'print unless $a{$..." />Remove duplicates line from files ]++&#3..." />Remove duplicates line from files ]++' file     ruby -00 -ne 'puts $_.split("n").uniq' file     perl -ne 'print unless $a{$_}++' file     sed '$!N; /^(.*)n1$/!P; D'      ", "articleBody": "perl -ne 'print unless $a{$_}++' file > out put file     awk '{a[]} END {for(i in a) print i}' filename > out put file   sort myfile.txt | uniq > out put file     awk '!_[Remove duplicates line from files ]++' file     ruby -00 -ne 'puts $_.split("n").uniq' file     perl -ne 'print unless $a{$_}++' file     sed '$!N; /^(.*)n1$/!P; D'      " }

Remove duplicates line from files

perl -ne 'print unless $a{$_}++' file > out put file

 

 

awk '{a[$1]} END {for(i in a) print i}' filename > out put file

 

sort myfile.txt | uniq > out put file

 

 

awk '!_[$0]++' file

 

 

ruby -00 -ne 'puts $_.split("\n").uniq' file

 

 

perl -ne 'print unless $a{$_}++' file

 

 

sed '$!N; /^\(.*\)\n\1$/!P; D'

 

 

 

Last modified onThursday, 30 May 2013 03:08

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0007403304{main}( ).../index.php:0
20.15381320864Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.15381320864Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.54712979008Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.54763003400Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.54913058728Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.54943075784require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.55843219872K2ControllerItem->execute( ).../k2.php:64
90.55853219872K2ControllerItem->display( ).../BaseController.php:710
100.57443488952K2ControllerItem->display( ).../item.php:78
110.57443488952K2ControllerItem->display( ).../controller.php:19
120.57753507472Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.58413527888K2ViewItem->display( ).../ViewController.php:102
140.67814046072K2ViewItem->display( ).../view.html.php:742
150.67814046072K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.68174220472include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in reaver
  • Read 1192 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0007403304{main}( ).../index.php:0
20.15381320864Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.15381320864Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.54712979008Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.54763003400Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.54913058728Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.54943075784require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.55843219872K2ControllerItem->execute( ).../k2.php:64
90.55853219872K2ControllerItem->display( ).../BaseController.php:710
100.57443488952K2ControllerItem->display( ).../item.php:78
110.57443488952K2ControllerItem->display( ).../controller.php:19
120.57753507472Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.58413527888K2ViewItem->display( ).../ViewController.php:102
140.67814046072K2ViewItem->display( ).../view.html.php:742
150.67814046072K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.68174220472include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top