Home > Cannot Be > Unix Sed Cannot Be Parsed

Unix Sed Cannot Be Parsed

Contents

Wolfgang Mayrhofer replied Apr 24, 2009 Hi Celvin try this: sed 's// File from Old Cube:/' difference1.txt > Difference.txt It should do what you need. In your command you specify too many fields - which is a syntax error, and is why your function cannot be parsed. Finally, be sure that whatever tools you use to edit the build file and the target file maintain the declared encoding. –sudocode Apr 14 '11 at 7:53 | show 5 more Word for a Fact Believed by a Sub-Culture Was it legal to rant against trick or treating via loudspeaker during halloween? this contact form

If your implementation's sed can handle the single-line input and is POSIX-compatible, then this should work instead: sed 'y/<>|/ /;s/ */ /g' outfile ...where the y primitive above is sed's GrapefruiTgirl View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by GrapefruiTgirl 03-03-2010, 02:15 AM #4 Tinkster Moderator Registered: Apr 2002 Location: in Last edited by leena_d; 03-03-2010 at 01:12 AM. Find a mistake in the following bogus proof Build me a brick wall!

Sed Function Cannot Be Parsed Aix

I am not extremely familiar with sed, so bombard me with corrections! :DThe sed statement is:sed '/build.rev/c\build.rev = '"$BUILD_ID"'' $BUILD_ID_FILE > $BUILD_ID_FILE.1I had our admin apply both PHCO_22800 (sed cumulative patch) Home | Invite Peers | More UNIX Groups Your account is ready. Solve problems - It's Free Create your account in seconds E-mail address is taken If this is your account,sign in here Email address Username Between 5 and 30 characters.

However, I may be able to make it work from there. Not the answer you're looking for? I have a shell script 'Test.sh' echo "Enter The File Name" read FILE_NAME echo "Enter The First Column" read Col RowNum=2 Diff=4 Data=" " ColNumFrom=`grep -i $Col Data.csv | cut -d Unanswered question This question has not been answered yet.

Please help me on this ASAP. Sed: 0602-404 Function Cannot Be Parsed. How do I make an alien technology feel alien? Are you asking me to post an answer or are you saying you didn't like the comment...? How can the US electoral college vote be so different to the popular vote?

PCMag Digital Group AdChoices unused Log In E-mail or User ID Password Keep me signed in Recover Password Create an Account Blogs Discussions CHOOSE A TOPIC Business Intelligence C Languages All rights reserved Home Forums Articles Badges Privacy Policy Support Sitemap Newsletter Signup Free Web Developer Tools

Log In E-mail or User ID Password Keep me signed in If your file is named A and you want the modified results in B then this should work: |' ' ' | tr -s ' ' >B. Related 1use SED recursively in linux?0how to solve the download error in AIX?0sed + not work on solaris2Why isn't sed working?1sed not working in linux centos, ubuntu,2same file different size in

Sed: 0602-404 Function Cannot Be Parsed.

Forum Operations by The UNIX and Linux Forums current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to customize your list. Is it possible for a diesel engine computer to detect (and prevent) a runaway condition? Sed Function Cannot Be Parsed Aix Professor Lewin: "Which string will break?" / Me: "That one." / Professor Lewin: "Wrong!" Does an Eldritch Knight's war magic allow Extra Attacks? Sed Command In Unix Will I get the same result if I use 18-55mm lens at 55mm (full zoom) and 55-200mm lens at 55mm (no zoom), if not, then why?

minifish Shell Programming and Scripting 2 02-14-2008 05:25 PM How to convert the "select" function into a "poll" function rbolante Programming 1 07-10-2001 11:49 AM All times are GMT -4. I thought that a previous post stated that there was no such limit?? Many thanks in advance! Browse other questions tagged bash ksh or ask your own question.

All rights reserved. Are you new to LinuxQuestions.org? What version of SED are you using? The time now is 08:21 PM. - Contact Us - UNIX & Linux - unix commands, linux commands, linux server, linux ubuntu, shell script, linux distros. - Advertising - Top

Thanks, Souvik M Join this group Popular White Paper On This Topic Beginner's Guide to ERP 2Replies Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be So it did work once the line feed was added. the description conatins the \ i want to convert into \\ globally.

Possible repercussions from assault between coworkers outside the office Find the rate of change at a point on a polynomial C# TBB updating metadata value Is it possible for a diesel

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Celvin Kattookaran replied Apr 27, 2009 I'm sorry.....wmayrh Regards CK Top This thread has been closed due to inactivity. Code: Any BATCH\\ELORS|CONDENSED SOUP|CREAM OF TOMATO,|CHICKEN OR MUSHROOM|295G I have used the below command and i am getting error as below. How many characters does the pattern in sed matches..

So, the final expression becomes: sed -e 's/\#\ TMOUT=120/TMOUT=900/g' /etc/profile > /etc/profile.011211 Top This thread has been closed due to inactivity. share|improve this answer edited Apr 2 '15 at 9:41 answered Apr 2 '15 at 9:05 mikeserv 37.5k442112 I have tried your solution , I created three files first file asked 5 years ago viewed 2905 times active 1 year ago Linked 3 egrep matching group not printing? Celvin Kattookaran replied Apr 27, 2009 Hi Will Thanks a lot sed ' // i\ File from Old Cube: ' difference1.txt > Difference.txt this one

Before: ApplA icA ApplÁs icÁs After: ApplA icA Appl s ic s share|improve this answer edited Apr 14 '11 at 8:49 answered Apr 12 '11 at 15:01 sudocode 12.6k2141 Updated on 2009-08-05T10:33:01Z at 2009-08-05T10:33:01Z by tony.evans tony.evans 0600007X8X 412 Posts Re: sed: Function cannot be parsed ‏2009-08-05T10:33:01Z This is the accepted answer. This is the accepted answer. Sed issue (cannot be parsed) Celvin Kattookaran asked Apr 24, 2009 | Replies (7) Hi All I'm getting this error while executing a sed script sed: 0602-404 Function /

Log in to reply. W. ellipses represent continuation. Someone peeled an American flag sticker off of my truck.

Having a problem logging in? with gnu sed it works with sed "2{s/yes:/no/g}" test. Code: sed 's/\/\\/g' full_offers.ascii sed: Function s/\/\\/g cannot be parsed. Please Help me solve the error...

What does this mean? up vote 1 down vote favorite I need to replace a particular character in a text file with another character. sed -E is almost definitely not going to work. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

This: sed -n '/^ERROR:/,$p' $RESULTSFILE gave me the results I wanted but I'm having trouble doing it to a more complex sed. –LF4 Sep 30 '11 at 22:38 add a comment| All product names are trademarks of their respective companies. UNIX & Linux Forums > Top Forums > Shell Programming and Scripting Member Name Remember Me? The above ...

Browse other questions tagged linux unix ant sed or ask your own question.