Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
81614e1c
Kaydet (Commit)
81614e1c
authored
May 31, 2014
tarafından
Ariel Constenla-Haile
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i107072 - Quote uri-encode
üst
ced067d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
senddoc.sh
shell/source/unix/misc/senddoc.sh
+19
-19
No files found.
shell/source/unix/misc/senddoc.sh
Dosyayı görüntüle @
81614e1c
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
# under the License.
# under the License.
#
#
# *************************************************************
# *************************************************************
URI_ENCODE
=
"
`
dirname
$0
`
/uri-encode"
URI_ENCODE
=
"
`
dirname
"
$0
"
`
/uri-encode"
FOPTS
=
""
FOPTS
=
""
# linux file utility needs -L option to resolve symlinks
# linux file utility needs -L option to resolve symlinks
...
@@ -100,7 +100,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -100,7 +100,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
shift
shift
;;
;;
--attach
)
--attach
)
ATTACH
=
${
ATTACH
:-}${
ATTACH
:+,
}
`
echo
"file://
$2
"
|
${
URI_ENCODE
}
`
ATTACH
=
${
ATTACH
:-}${
ATTACH
:+,
}
`
echo
"file://
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
*
)
*
)
...
@@ -160,7 +160,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -160,7 +160,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
shift
shift
;;
;;
--attach
)
--attach
)
ATTACH
=
"
${
ATTACH
:-}${
ATTACH
:+
}
--attach "
`
echo
"file://
$2
"
|
${
URI_ENCODE
}
`
ATTACH
=
"
${
ATTACH
:-}${
ATTACH
:+
}
--attach "
`
echo
"file://
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
*
)
*
)
...
@@ -243,23 +243,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -243,23 +243,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
shift
shift
;;
;;
--cc
)
--cc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--bcc
)
--bcc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--subject
)
--subject
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject"
=
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject"
=
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--body
)
--body
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--attach
)
--attach
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attach="
`
echo
"file://
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attach="
`
echo
"file://
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
*
)
*
)
...
@@ -285,23 +285,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -285,23 +285,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
shift
shift
;;
;;
--cc
)
--cc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--bcc
)
--bcc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--subject
)
--subject
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject"
=
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject"
=
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--body
)
--body
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--attach
)
--attach
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attachment="
`
echo
"file://
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attachment="
`
echo
"file://
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
*
)
*
)
...
@@ -362,7 +362,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -362,7 +362,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
case
$1
in
case
$1
in
--attach
)
--attach
)
#i95688# fix filenames containing accented chars, whatever alien
#i95688# fix filenames containing accented chars, whatever alien
ATTACH
=
"
${
ATTACH
:-}${
ATTACH
:+
}
"
`
echo
"file://
$2
"
|
${
URI_ENCODE
}
`
ATTACH
=
"
${
ATTACH
:-}${
ATTACH
:+
}
"
`
echo
"file://
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
*
)
*
)
...
@@ -388,23 +388,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
...
@@ -388,23 +388,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
shift
shift
;;
;;
--cc
)
--cc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
cc="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--bcc
)
--bcc
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
bcc="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--subject
)
--subject
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
subject="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--body
)
--body
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
body="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
--attach
)
--attach
)
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attachment="
`
echo
"
$2
"
|
${
URI_ENCODE
}
`
MAILTO
=
"
${
MAILTO
:-}${
MAILTO
:+&
}
attachment="
`
echo
"
$2
"
|
"
${
URI_ENCODE
}
"
`
shift
shift
;;
;;
*
)
*
)
...
...
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