selected filename(s) to bash variable/array

Oliver Lange bloody at bloody.in-berlin.de
Mon May 6 22:52:53 UTC 2013


Am 25.04.2013 20:05, schrieb porphyry5:
> Is there any way in which the currently hilited filename(s) in the directory
> list could be made available within a bash variable/array?  I tried the *F2
> @* option with /set varname/ and also with /varname =/, but no luck.
> 

Use %s for the current selection (or file under cursor if none),
or %S for the selection in the "other" directory.

-- 

Cheers,

Oliver 'Bloody' Lange.



More information about the mc-devel mailing list