Commit 1a339b64 authored by saeed's avatar saeed
Browse files

m

parent 35a29e3b
......@@ -24,6 +24,22 @@ function yearmonday(){
echo ${year}${mon}${day}
}
function getyear_1(){
str=${1}
echo ${str:0:4}
}
function getmonth_1(){
str=${1}
echo ${str:4:2}
}
function getday_1(){
str=${1}
echo ${str:6:2}
}
function addbackslash(){
str=${1}
echo ${str/,/\\\/}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment