Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #27521
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jack Strangio <jackstrangio@yahoo.com> |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Use of pdftk |
| Date | Tue, 2 Jul 2019 02:42:40 -0000 (UTC) |
| Organization | North Star Horizon Builders Club |
| Lines | 28 |
| Message-ID | <ptzu64.o5F@yahoo.com> (permalink) |
| References | <qeqms8$oua$1@dont-email.me> |
| Injection-Date | Tue, 2 Jul 2019 02:42:40 -0000 (UTC) |
| Injection-Info | reader02.eternal-september.org; posting-host="516f1c75a8b23ffde1bc24717266701f"; logging-data="31885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/m4HMrYR/v5J3bh2Jz3h0TY+/ytM0NTHI=" |
| Cancel-Lock | sha1:jutm8tr6QthJ7j4wFIhEMTeozfY= |
| X-Newsreader | TASS News Reader 3.7.2 jvs [linux] |
| Xref | csiph.com comp.os.linux.misc:27521 |
Show key headers only | View raw
db <dieterhansbritz@gmail.com> writes:
> I have a large number of pdf files I want to chain together into
> a single file. They come from Windows and the names all have spaces
> in them.
>
> This has worked for me with a smaller set, but for this one it's
> so many that I want to do it using a script. I tried something like
> this:
Get your script to disregard spaces (etc) when reading in argument
lines by inserting this line near the top of it
IFS="$(printf '\n\t')"
That will then consider a tab or a newline ONLY as separators.
Then you can read in a whole list of filenames without the spaces killing
your input arguments.
Regards,
Jack
--
"I'm a home-loving girl. And that's where I wish I was."
"At home ..."
"Loving."
- Laugh-In, 1968
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Find similar | Unroll thread
Use of pdftk db <dieterhansbritz@gmail.com> - 2019-06-24 14:31 +0000
Re: Use of pdftk Joe Makowiec <makowiec@invalid.invalid> - 2019-06-24 15:46 +0000
Re: Use of pdftk Richard Kettlewell <invalid@invalid.invalid> - 2019-06-24 17:00 +0100
Re: Use of pdftk Bit Twister <BitTwister@mouse-potato.com> - 2019-06-24 11:36 -0500
Re: Use of pdftk Andreas Kohlbach <ank@spamfence.net> - 2019-06-24 14:21 -0400
Re: Use of pdftk Rich <rich@example.invalid> - 2019-06-24 18:38 +0000
Re: Use of pdftk au76666 <britz@chem.au.dk> - 2019-07-05 08:09 +0000
Re: Use of pdftk Jack Strangio <jackstrangio@yahoo.com> - 2019-07-02 02:42 +0000
csiph-web