Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th September 2005, 02:15 AM
NHskipro Offline
Registered User
 
Join Date: Jul 2005
Posts: 5
Question What's wrong with this?

This a little test I'm doing that doesn't seem to work, but I can't see anything wrong with it. Is this a bug?

# Create an input file
cat << \EOF > -infile
aaa
bbb
aaa
EOF

#Create an input command file
cat << \EOF > cmdfile
1,$s/aaa/bbb/
w
q
EOF

#This command fails.
ed -s -- -infile < cmdfile

#The command returns a ?
echo $?
#returns 4. Don't have a clue what this means.

Thanks in advance,
Mike
Reply With Quote
Reply

Tags
wrong

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help..what wrong with my fc8? sunote Using Fedora 0 19th December 2007 02:51 AM
I've done something wrong? HailandKill Using Fedora 0 7th August 2005 02:47 AM
Up2date icon: You are at wrong place at the wrong time. tonytiger Using Fedora 2 28th May 2005 11:39 AM
Why me? Where did I go wrong? chili555 Fedora Focus 5 10th July 2004 03:14 PM


Current GMT-time: 11:20 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat