From 9a23e19ba2f682256d724bc852abaf5f31d906bc Mon Sep 17 00:00:00 2001 From: Rikuoh Tsujitani Date: Wed, 22 May 2024 14:22:02 +0900 Subject: [PATCH] -l --- ls.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/ls.rb b/ls.rb index d2e56a7..020c261 100644 --- a/ls.rb +++ b/ls.rb @@ -5,24 +5,6 @@ require 'etc' COLUMNS = 3 MARGIN = 3 -PERMISSION = { - '0' => '---', - '1' => '--x', - '2' => '-w-', - '3' => '-wx', - '4' => 'r--', - '5' => 'r-x', - '6' => 'rw-', - '7' => 'rwx' -}.freeze -FILETYPE = { - '1' => 'p', - '2' => 'c', - '4' => 'd', - '6' => 'b', - '10' => '-', - '12' => 'l' -}.freeze def run listed_filenames = list_filenames