Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DJR999

    Evaluation syntax in Unix commands

    I know this should be simple, but sorry I am fairly new to UNIX and can't find the syntax to make this work. I have following two commands in a script: x=`expr $(head -1 filename.ext | cut -c16 | grep [A-Z] | wc -l) + 16` del=`head -1 filename.ext | cut -c$x` This works fine as I expect it...
  2. DJR999

    Simple RegEx question

    Annihilannic - uname -a returns: HP-UX cl00hp99 B.11.23 U 9000/800 1012723164 unlimited-user license echo $0 gives me: -sh Although I entered ksh to go to a korn shell and I got the same results with the grep commands above. Thanks.
  3. DJR999

    Simple RegEx question

    Thanks for the help. I figured out after I posted why the first one didn't work, as you explained. But not why the other pairs yielded different results when I escaped the asterisk. For whatever reason my version of UNIX does not interpret those as I would expect. There IS a literal asterisk...
  4. DJR999

    Simple RegEx question

    Hello - Sorry, I'm new at UNIX and regex and even the simplest of issues seem to be throwing me. Can someone explain this to me: In a file f1 this line is contained: MH76M*ME5G4GCKOVICHJEFFREY0187405...... The command grep MH76M*M f1 yields the line, as I would expect. I read this as MH76...
  5. DJR999

    Simple Reg. Ex. question regarding * vx +

    Hmm. Well - I guess it must just be a version thing. Escaping the + does nothing - your first line above still yields no results. Adding the extended -E option works - when I used your second line I get all of the names listed. The -P option is not recognized - tells me illegal option. I am...
  6. DJR999

    Simple Reg. Ex. question regarding * vx +

    Simple Regular Expression Question OK - I'm new to UNIX and reg. ex, so this is probably very basic, but I can't figure it out. Given a simple text file called namelist with a list of names such as John Doe Bob Cat Billy Bob Joe Mama etc, the command: grep '[A-Z][a-z]*' namelist yields...
  7. DJR999

    How to link to status HTML page using Button

    Ahhh... Just like you said in your first response a few minutes ago. Should have paid closer attention. This is just for a mockup I am doing on my machine, so I'm good to go using the javascript. Thanks again for the info.
  8. DJR999

    How to link to status HTML page using Button

    Thanks. Setting the window.location property seems to work fine. Why do you say you don't condone it though? What kind of problems can this cause?
  9. DJR999

    How to link to status HTML page using Button

    Sorry - I'm new to webstuff, so I'm not clear on what your saying in either case. When you say style the link so it looks like a button, do you mean in css or inline style just set color, background-color, width, etc, so it looks like a button on the screen? As for the javascript, I tried that...
  10. DJR999

    How to link to status HTML page using Button

    I know this is probably ridiculously simple, but I can't seem to get it to work. I just want a button on an html page to link to another html page. Nothing going back to the server - just a straight link to another static page. I've tried just wrapping the button tag in an anchor like this...
  11. DJR999

    Columns Collapsing in NN vs. IE

    Well actually I have 2 columns in the outer table. Basically a link bar taking up the left couple inches or so of the screen, and then the main pane that I was talking about that contained the table I am trying to center. So I set it up as a two column table. I'm sure there's a better way to...
  12. DJR999

    Columns Collapsing in NN vs. IE

    Vragabond - Thanks for the tips. Found a couple of things. First of all, I didn't have that <!DOCTYPE node in my page. Not sure what that does (I'm new at this) but I assume it makes it adhere to some HTML standards. When I took that out of your code, yours did the same thing mine did...
  13. DJR999

    Columns Collapsing in NN vs. IE

    Vragabond - Thanks for the border vs. td tip - this is now working fine in both NN an IE. But centering the table using margin: 0 auto still doesn't work. The table is still all the way to the left of the <td> in NN. And if I remove the align=center property, it does that in IE as well...
  14. DJR999

    Columns Collapsing in NN vs. IE

    What can I do to force <td>'s to render to a desired width in NN (I have NN 6.2) For example, if I want a black vertical bar in a table - if I use <td style={width:1px;background-color:black}></td> this works fine in IE, but in NN it does not dispay it since there is nothing else in the td. If...
  15. DJR999

    Including link styles in CSS classes

    I have a couple of similar questions. 1) I have a kind of table that will always have 3 columns, each with various styles defined. I know I can define a class for each column: col.co11 {.....} col.col2 {.....} col.col3 {.....} and then start my table <table><col class=col1><col...
  16. DJR999

    I'm trying to link to an explorer w

    I'm trying to link to an explorer window with a directory listing for a shared drive from my web page, with no luck. I've tried many ways, including: <a href=&quot;\\ServerName\dir\subdir&quot;>ServerName</a> (this tags &quot;http://CurrentWebServer&quot; on the front and gives me a page not...

Part and Inventory Search

Back
Top