home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc8785
)
Fix extra dash in timestamp format
author
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 13 Jun 2022 12:35:28 +0000
(08:35 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Mon, 13 Jun 2022 12:35:28 +0000
(08:35 -0400)
home/bin/x
patch
|
blob
|
blame
|
history
diff --git
a/home/bin/x
b/home/bin/x
index
59a4710
..
5069833
100755
(executable)
--- a/
home/bin/x
+++ b/
home/bin/x
@@
-6,7
+6,7
@@
name=$(echo "$@" | sed 's/\s\+/-/g');
if [ "$name" != "" ];
then
- timestamp=$(date +'%F--%H-%M-
-
%S');
+ timestamp=$(date +'%F--%H-%M-%S');
directory="$HOME/x/$timestamp--$name";
mkdir -p "$directory";
cd "$directory";
This page took
0.036052 seconds
and
4
git commands to generate.