]++' 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.0007412440{main}( ).../index.php:0
20.11354262360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11354262360Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.470411453232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.470911477544Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.471611532872Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.471911560272require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.480111959904K2ControllerItem->execute( ).../k2.php:64
90.480111959904K2ControllerItem->display( ).../BaseController.php:710
100.493012610608K2ControllerItem->display( ).../item.php:78
110.493012610608K2ControllerItem->display( ).../controller.php:19
120.498012981648Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.506913002016K2ViewItem->display( ).../ViewController.php:102
140.584315801808K2ViewItem->display( ).../view.html.php:742
150.584315801808K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.588515974744include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in reaver
  • Read 1195 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.0007412440{main}( ).../index.php:0
20.11354262360Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11354262360Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.470411453232Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.470911477544Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.471611532872Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.471911560272require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.480111959904K2ControllerItem->execute( ).../k2.php:64
90.480111959904K2ControllerItem->display( ).../BaseController.php:710
100.493012610608K2ControllerItem->display( ).../item.php:78
110.493012610608K2ControllerItem->display( ).../controller.php:19
120.498012981648Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.506913002016K2ViewItem->display( ).../ViewController.php:102
140.584315801808K2ViewItem->display( ).../view.html.php:742
150.584315801808K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.588515974744include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
back to top