Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -0,0 +1,11 @@
|
|||
begin
|
||||
//Print(ParamStr(1));
|
||||
if ParamCount = 0 then
|
||||
System.IO.File.ReadAllText('Notes.txt').Print
|
||||
else begin
|
||||
System.IO.File.AppendAllText('Notes.txt',DateTime.Now.ToString);
|
||||
var s := (1..ParamCount).Select(i -> ParamStr(i)+NewLine).JoinToString;
|
||||
s := #9 + NewLine + s;
|
||||
System.IO.File.AppendAllText('Notes.txt',s);
|
||||
end;
|
||||
end.
|
||||
|
|
@ -1,8 +1,12 @@
|
|||
#
|
||||
NOTES=$HOME/notes.txt
|
||||
if [[ $# -eq 0 ]] ; then
|
||||
[[ -r $NOTES ]] && more $NOTES
|
||||
else
|
||||
date >> $NOTES
|
||||
echo " $*" >> $NOTES
|
||||
|
||||
if
|
||||
declare NOTES=$HOME/notes.txt
|
||||
(($#))
|
||||
then
|
||||
{
|
||||
date
|
||||
echo " $*"
|
||||
} >> $NOTES
|
||||
else [[ -r $NOTES ]] && more $NOTES
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue