Re: long filename and sed
- From: ibuprofin@xxxxxxxxxxxxxxxxxxxxxx (Moe Trin)
- Date: Thu, 09 Nov 2006 18:22:41 -0600
On 8 Nov 2006, in the Usenet newsgroup comp.unix.questions, in article
<1163048251.050006.104550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>, manish wrote:
John Gordon wrote:
Well .. i didn't write the command part again .. what i meant was that
when i replace the filenames in the original command with these
filenames then i face the problem.
When you say "it doesn't work", what exactly do you mean? Do you get an
error message?
Although the command shows nothing on the terminal.. and there is no
change in the file...too......
In your original post your said:
] sed -e 's/$/ ,0/' abc.txt > new_abc.txt
works, but when you use the long file names it doesn't. Your headers show
some form of windoze - what operating system are you using, and what shell?
The two long filenames (and the intervening space and redirect) are 105
characters, 123 if you add the command itself. Could you be getting caught
in a line-wrap or line-length situation thanks to some "user friendly" shell
setting?
Old guy
.
- Follow-Ups:
- Re: long filename and sed
- From: manish
- Re: long filename and sed
- References:
- long filename and sed
- From: manish
- Re: long filename and sed
- From: John Gordon
- Re: long filename and sed
- From: manish
- long filename and sed
- Prev by Date: Re: SCO Unix error: "No room on device hd(41)"; won't mount
- Next by Date: Logging of enabling/disabling of services such as rlogin/rsh
- Previous by thread: Re: long filename and sed
- Next by thread: Re: long filename and sed
- Index(es):
Relevant Pages
|