Nytro Posted November 17, 2011 Report Posted November 17, 2011 Duplicate Lines RemoverEasily delete duplicate lines from files.Duplicate Lines Remover is a handy freeware application which allows you to easily remove duplicate lines from files and strings. You can specify to ignore empty lines, remove empty lines and enable sorting of items. Is also possible to add the application to the SendTo menu for easily remove duplicate lines from files present in the hard drive.Duplicate Lines Remover is compatible with the following 32-bit and 64-bit Microsoft Windows Operating Systems: Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7ScreenshotsFeaturesAdd to SendTo menu Commandline version Compatible with BOTH 32-bit and 64-bit OS Ignore empty lines Remove duplicate lines from files Remove duplicate lines from strings Remove empty lines Sort lines of a file Very user-friendly GUIDetailsVersion: 1.2.0.0Operating System: Windows All | 32-bit and 64-bitLast Update: 17.11.2011Category: SecurityLicense: FreewareDownload:http://downloads.novirusthanks.org/files/duplicate_lines_remover.exeSursa: Duplicate Lines Remover - Easily remove duplicate lines from files and strings Quote
Zatarra Posted November 17, 2011 Report Posted November 17, 2011 Nu ii mai usor cat fisier.txt |uniq > fisiernou.txt?Just askin'.. Quote
GarryOne Posted November 17, 2011 Report Posted November 17, 2011 Zatarra said: Nu ii mai usor cat fisier.txt |uniq > fisiernou.txt?Just askin'..linux forever ) Quote
turnback Posted November 17, 2011 Report Posted November 17, 2011 Zatarra said: Nu ii mai usor cat fisier.txt |uniq > fisiernou.txt?Just askin'..De acord, da' in win care e comanda? Quote
Zatarra Posted November 17, 2011 Report Posted November 17, 2011 turnback said: De acord, da' in win care e comanda?Nimic mai usor:::==sortDup.bat@echo offsetlocalif {%1} EQU {} goto syntaxif not exist %1 goto syntaxset file=%1set file="%file:"=%"set work=%TEMP%\%~nx1set work="%work:"=%"set work=%work:\\=\%sort %file% /O %work%del /f /q %file%for /f "Tokens=*" %%s in ('type %work%') do set record=%%s&call :outputendlocalgoto :EOF:syntax@echo ***************************@echo Syntax: SortDup Input_File@echo ***************************endlocalgoto :EOF:outputif not defined prev_rec goto writeif "%record%" EQU "%prev_rec%" goto :EOF:write@echo %record%>>%file%set prev_rec=%record%Nu l-am incercat.. poate incearca careva..Sursa: Remove duplicate lines in pure .bat Quote
GarryOne Posted November 17, 2011 Report Posted November 17, 2011 n-are windowsu asa ceva, linux e gandit cu capEDIT: exceptanand batch-ul Quote
Haceru Posted November 18, 2011 Report Posted November 18, 2011 Notepad++ poate face multe minuni.Pentru sortarea linilor si stergerea linilor identice -> TextFX Quote
eliz77h Posted February 11, 2018 Report Posted February 11, 2018 On 11/17/2011 at 9:17 PM, GarryOne said: linux forever ) Expand imi poti spune comenzile pentru linux? mersi Quote
aelius Posted February 11, 2018 Report Posted February 11, 2018 On 2/11/2018 at 10:07 AM, eliz77h said: imi poti spune comenzile pentru linux? mersi Expand man sort man uniq Lenesule Quote
eliz77h Posted February 11, 2018 Report Posted February 11, 2018 On 2/11/2018 at 12:54 PM, aelius said: man sort man uniq Expand mersi Quote
Technetium Posted February 12, 2018 Report Posted February 12, 2018 On 2/11/2018 at 10:07 AM, eliz77h said: imi poti spune comenzile pentru linux? mersi Expand sort -u sau sort numetxt | uniq > lista_curatata Quote
eliz77h Posted February 13, 2018 Report Posted February 13, 2018 On 2/12/2018 at 9:09 AM, Technetium said: sort -u sau sort numetxt | uniq > lista_curatata Expand mersi Quote