From 69361810dba055397f2f04b04ef7a78fa8e90e10 Mon Sep 17 00:00:00 2001 From: acevest Date: Tue, 24 Nov 2020 19:58:26 +0800 Subject: [PATCH] ... --- tools/comm/cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/comm/cs b/tools/comm/cs index 178ca8d..2ec75b7 100755 --- a/tools/comm/cs +++ b/tools/comm/cs @@ -8,7 +8,7 @@ use strict; use POSIX qw(strftime setlocale); -setlocale(&POSIX::LC_ALL,'en_US.UTF-8'); +setlocale(&POSIX::LC_TIME,'en_US.UTF-8'); my $filename = " File Name: "; my $author = " Author: Zhao Yanbai\n"; @@ -34,6 +34,7 @@ my %s = ("c" => {CSTYLE}, "go" => {CSTYLE}, "cpp" => {CSTYLE}, "h" => {CSTYLE}, + "rs" => {CSTYLE}, "pl" => {env=>"#!/usr/bin/env perl\n", SSTYLE}, "py" => {env=>"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n", SSTYLE}, "rb" => {env=>"#!/usr/bin/env ruby -w\n", SSTYLE} -- 2.44.0