Re: mc Digest, Vol 140, Issue 3
- From: chris glur <crglur gmail com>
- To: mc gnome org
- Subject: Re: mc Digest, Vol 140, Issue 3
- Date: Wed, 16 Mar 2016 13:20:37 -0800
I don't know about newer versions, but my slak13 `man mc`==
MC Version 4.6.2-pre1 September 2007
<history tab> doesn't show the immediately recent paths;
so I made:-- mc2 == open with last 2 paths.
#! /bin/bash
Path1=`head -1 /root/.mc/filepos |awk '{print $1}' `
Path2=`head -2 /root/.mc/filepos |awk '{print $1}' | tail -1`
xterm -e mc `dirname $Path1` `dirname $Path2`
last 3 & 4
#! /bin/bash
Path1=`head -3 /root/.mc/filepos |awk '{print $1}' | tail -1`
Path2=`head -4 /root/.mc/filepos |awk '{print $1}' | tail -1`
xterm -e mc `dirname $Path1` `dirname $Path2`
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]