diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:11:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 01:11:49 +0000 |
commit | 1b88cd5ee8510e90e69f885bfd730ce57621781c (patch) | |
tree | b6b33bd695258f68c68824029c279d660ee4b85e /src/vfs/fish/helpers/info | |
parent | Adding upstream version 3:4.8.30. (diff) | |
download | mc-1b88cd5ee8510e90e69f885bfd730ce57621781c.tar.xz mc-1b88cd5ee8510e90e69f885bfd730ce57621781c.zip |
Adding upstream version 3:4.8.31.upstream/3%4.8.31upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/vfs/fish/helpers/info')
-rw-r--r-- | src/vfs/fish/helpers/info | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/src/vfs/fish/helpers/info b/src/vfs/fish/helpers/info deleted file mode 100644 index b85b0a7..0000000 --- a/src/vfs/fish/helpers/info +++ /dev/null @@ -1,44 +0,0 @@ -LC_TIME=C -export LC_TIME -#FISH_HAVE_HEAD 1 -#FISH_HAVE_SED 2 -#FISH_HAVE_AWK 4 -#FISH_HAVE_PERL 8 -#FISH_HAVE_LSQ 16 -#FISH_HAVE_DATE_MDYT 32 -#FISH_HAVE_TAIL 64 -res=0 -if `echo yes| head -c 1 > /dev/null 2>&1` ; then - res=`expr $res + 1` -fi -if `echo 1 | sed 's/1/2/' >/dev/null 2>&1` ; then - res=`expr $res + 2` -fi -if `echo 1| awk '{print}' > /dev/null 2>&1` ; then - res=`expr $res + 4` -fi -if `perl -v > /dev/null 2>&1` ; then - res=`expr $res + 8` -fi -if `ls -Q / >/dev/null 2>&1` ; then - res=`expr $res + 16` -fi -dat=`ls -lan / 2>/dev/null | head -n 3 | ( - while read p l u g s rec; do - if [ -n "$g" ]; then - if [ -n "$l" ]; then - echo "$rec" - fi - fi - done -)` -dat=`echo $dat | cut -c1 2>/dev/null` -r=`echo "0123456789"| grep "$dat"` -if [ -z "$r" ]; then - res=`expr $res + 32` -fi -if `echo yes| tail -c +1 - > /dev/null 2>&1` ; then - res=`expr $res + 64` -fi -echo $res -echo "### 200" |