![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| syntax error: unexpected end of file | Alaeddin | Shell Programming and Scripting | 10 | 10-20-2008 07:09 AM |
| awk Shell Script error : "Syntax Error : `Split' unexpected | Herry | UNIX for Dummies Questions & Answers | 2 | 03-17-2008 11:16 AM |
| sh: syntax error: `...' unexpected??? | alan | Shell Programming and Scripting | 5 | 06-22-2004 06:58 PM |
| sh: syntax error at line 1: `>' unexpected | atiato | High Level Programming | 2 | 03-16-2004 07:39 AM |
| syntax error: `(' unexpected | adadevil | UNIX for Dummies Questions & Answers | 11 | 12-14-2001 09:17 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sed error : Syntax error: redirection unexpected
My script is throwing the error 'Syntax error: redirection unexpected'
My line of code.. Code:
cat nsstatustest.html | sed s/<tr><td align="left">/<tr><td align="left" bgcolor="#000000"><font color="white">/ > ztmp.Ps23zp2s.2-Fpps3-wmmm0dss3 |
|
||||
|
Yes, I'm aware of both but as you can see in my example, it doesn't contain "/". It's html code. I'll try with putting the segments of html code in ", ', ` or as I've just learned with one of the delimiters :,_, or |
I'll come back to this later once I find out |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|