Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:customcmds:sort-selection [2015/04/12 14:46] – add tags enricoconfig:customcmds:sort-selection [2020/08/25 20:26] (current) – Add UnxUtils website URL enrico
Line 6: Line 6:
 Open the corresponding dialog by using the //Edit->Format->Send Selection->Set Custom Commands// menu item. Open the corresponding dialog by using the //Edit->Format->Send Selection->Set Custom Commands// menu item.
  
-{{:config:customcmds:sort_selection_unix.png?200|}}+{{:config:customcmds:sort_selection_unix.png|}}
  
 Here we used **sort** and **sort -u**, the latter one to sort lines uniquely which means that multiple Here we used **sort** and **sort -u**, the latter one to sort lines uniquely which means that multiple
Line 43: Line 43:
 The first pitfall is that there is also a **sort** utility available, provided by Windows itself. The first pitfall is that there is also a **sort** utility available, provided by Windows itself.
 However, it doesn't work together with Geany. However, it doesn't work together with Geany.
-But the UnxUtils project provides port of the Unix **sort** command line utility which can be used. +But Geany ships a **sort** command line utility from the UnxUtils project(http://unxutils.sourceforge.net/) which can be used.
-You need to download the UnxUtils package from http://sourceforge.net/projects/unxutils/files/latest/download +
-and extract the ZIP archive to a location of your choice.+
  
 In the //Set Custom Commands// dialog, specify the full path to the included sort.exe, e.g. In the //Set Custom Commands// dialog, specify the full path to the included sort.exe, e.g.
-//c:/utils/usr/local/wbin/sort.exe// (assuming you extracted the ZIP archive to c:\utils).+//C:/Program Files (x86)/Geany/bin/sort.exe//.
  
 You might notice that we used forward slashes here instead of Windows like backslashes. You might notice that we used forward slashes here instead of Windows like backslashes.
Line 57: Line 55:
 and use the entered command. and use the entered command.
  
-{{:config:customcmds:sort_selection_windows.png?200|}}+{{:config:customcmds:sort_selection_windows.png|}}
  
  
 {{tag>configure sort selection}} {{tag>configure sort selection}}
  
Print/export