Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Instrument Control
NomadMail
Commits
709b55ee
Commit
709b55ee
authored
Jun 22, 2020
by
legoc
Browse files
Test script
parent
7ee1c260
Changes
2
Hide whitespace changes
Inline
Side-by-side
nomadmail.sh
View file @
709b55ee
#!/bin/sh
java
-Djava
.library.path
=
/usr/lib:/usr/lib/x86_64-linux-gnu/jni
-Djava
.util.logging.config.file
=
conf/client/logging.properties
-jar
./target/nomadmail-1.0.0-full.jar
$1
if
[
$#
-lt
1
]
then
echo
"usage: nomadmail <path to file to send>"
exit
65
fi
content
=
`
cat
$1
`
echo
"
$content
"
java
-Djava
.library.path
=
/usr/lib:/usr/lib/x86_64-linux-gnu/jni
-Djava
.util.logging.config.file
=
conf/client/logging.properties
-jar
./target/nomadmail-1.0.0-full.jar
"
$content
"
testcontent.txt
0 → 100644
View file @
709b55ee
This is a test with multi-lines.
This must be the second line.
This must be the third line.
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment