Linux Newbie help
 help / color / mirror / Atom feed
From: whitnl73@juno.com
To: tfga@terra.com.br
Cc: linux-newbie@vger.kernel.org
Subject: Re: file transfer via telnet
Date: Sat, 22 Feb 2003 10:59:09 -0500 (EST)	[thread overview]
Message-ID: <20030222.120730.8.2.whitnl73@juno.com> (raw)
In-Reply-To: <5.1.0.14.1.20030222065155.00a194f0@pop.bsb.terra.com.br>

On Sat, 22 Feb 2003, Thiago F.G. Albuquerque wrote:

>
> >However, to downoad a file by telnet, capture stdout so:
> >
> >telnet hostname | tee logfile
> >....
> >uuencode remotefile remotefile
> >exit
> >tr -d "r" < logfile | uudecode
>
> Ok, I understand. But what is this 'tr -d "r"' for?

It is a typo for

tr -d "\r"

to remove the carriage returns.  Most versions of uudecode don't like
then, especially on the "end" line.  IIRC slackware had a "fromdos"
program to do it, but tr works just as well for uuencoded data - there
are no control characters in the data itself.

tr -d "r" shouldn't trash anything, but it won't do what I wanted it to,
either.  And I tested the whole thing before I put it in the mail wrong.
>
> Thiago
Lawson
--
---oops---



________________________________________________________________
Sign Up for Juno Platinum Internet Access Today
Only $9.95 per month!
Visit www.juno.com
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2003-02-22 15:59 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-17 19:11 File names with spaces Theo. Sean Schulze
2003-02-17 20:34 ` Brian Jackson
2003-02-18 21:37   ` Theo. Sean Schulze
2003-02-20 10:22     ` J.
2003-02-20 17:13       ` [SOLVED] " Theo. Sean Schulze
2003-02-20 19:43         ` J.
2003-02-21  8:59         ` J.
2003-02-23 13:30           ` Theo. Sean Schulze
2003-02-23 14:12             ` Problem installing avi libraries Peter Howell
2003-02-23 15:25               ` Ray Olszewski
2003-02-23 14:46             ` [SOLVED] Re: File names with spaces J.
2003-02-21  7:29       ` file transfer via telnet ichi
2003-02-20 20:10         ` Nathan
2003-02-20 21:44           ` Eckhardt, Rodolpho H. O.
2003-02-21  8:27             ` Jos Lemmerling
2003-02-21  8:51         ` J.
2003-02-21 18:55         ` whitnl73
2003-02-22  9:55           ` Thiago F.G. Albuquerque
2003-02-22 10:16             ` J.
2003-02-22 15:59             ` whitnl73 [this message]
2003-02-22 16:03           ` whitnl73

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030222.120730.8.2.whitnl73@juno.com \
    --to=whitnl73@juno.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=tfga@terra.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox