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 Mike Lewis 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: *

  • Users: cheguvera
  • Order by date
  1. cheguvera

    Removing first and last line of text file

    Hi, This 3-4 line code does my job for now. But its not a very generic thing. Say, I get a requirement that, I have to remove top 3 and bottom 2 lines of a file. Or, depending on the contents of file, the lines I need to chop is going to change etc etc Just out of interest I want to explore if...
  2. cheguvera

    Removing first and last line of text file

    Hi 1DMF, You are right. $cur_lino ++ does nothing. When I wrote the script for the first time, there was some other logic, which I removed. That line is just there because I have not deleted it, please ignore it. Thanks
  3. cheguvera

    Removing first and last line of text file

    Hi All, My requirement is, I want to remove first and last line of a text file. I did it like, ################################################### open READ_FILE ; # This is file I am reading open WRITE_FILE ; # This is file I am writting $cur_lino = 0 ; $prev_lino = 0 ; $prev_line = "" ...
  4. cheguvera

    Internet connection (conceptual) issue with broadband

    Hi All, I have an issue with my broadband connection. I am in UK and is using broadband internet from my cable operator NTL. The cable comes out of the cable box, goes into the cable modem and that is connected to my Win98 PC on USB port. This all worked fine till recently, but 2 days back my...
  5. cheguvera

    How can I do this compare using XSLT ??

    Hi All, Thanks for your reply. Actually, I was not able to find syntax of string comparison in the <xsl:if . Everywhere I see on the internet, all the examples were showing numeric comparisons. But, now its sorted out. I can easily do it without using variables. I can simply do it by...
  6. cheguvera

    How can I do this compare using XSLT ??

    Hi all, I have a XML like , <info> <type>A</type> <value1>ZZZZZZZ</value1> <value2>YYYYYYY</value2> </info> <info> <type>B</type> <value1>ZZZZZZZ</value1> <value2>YYYYYYY</value2> </info> With XSLT I would like to code logic like, if value of <type> is 'A' then...
  7. cheguvera

    Can I hide the process appearance ?

    Hi Guys, Thanks for all these thaughts. My problem is, I have to run a java code from inside a perl script. This java code connects to Oracle using JDBC and do not have a way to use the OPS$ account which Oracle provides. I have to give the oracle username/password on the command line, if I...
  8. cheguvera

    Can I hide the process appearance ?

    Hi, A security related question on Solaris. Suppose I am running some command on command line e.g. java -v -user xyz -file filename.ext Now, while this command is running, some other user logs on to the same machine and he gives command like "ps -aef" or "ps -fu some_username", he can see...
  9. cheguvera

    Issue with the &quot;system&quot; command

    Hi, We have a typical setup. A production server where we run our batch processes. There are a set of read only users, which can login to the server for monitoring purpose and support. Now, the user which runs processes, runs a process e.g. $ some_executable_program -param1 -param2 -param3...
  10. cheguvera

    Issue with the &quot;system&quot; command

    Hi All, I have a question about the system command. If I run some OS command from Perl script like , system("java -user ABCD -pass XYZ -deb") ; The command I am running will execute, thats fine. But while the command is running, if some other user on the Unix box gives command like "ps...
  11. cheguvera

    sed issues on Solaris, search/replace not working

    Hi PHV, That was cool. That worked and my goal is met. Now I am left with just curiocity about sed not working. Thanks again
  12. cheguvera

    sed issues on Solaris, search/replace not working

    Thanks Feherke. But with upper case I, its the same error.
  13. cheguvera

    sed issues on Solaris, search/replace not working

    Hi PHV, Thanks for the reply. Initially I thaught of this option, but actually, I have nearly 10 possible words to replace and the words are made up of 10 to 20 charactors each. Basically, I have no option other than what you have suggested. But, previously on AIX and other Unix flavours I...
  14. cheguvera

    sed issues on Solaris, search/replace not working

    Hi, I am on Sun Solaris and struggling with a very simple sed command. I want to search and replace, ignoring the case. Lets say, I have a file, Abcd abCd abcD And I issue a command, sed -e 's/abcd/CORRECT/i' my_file This should give output like, CORRECT CORRECT CORRECT But, my above sed...
  15. cheguvera

    Using Tomcat for production, licensing issues

    Hi, Thanks a lot. That was very usefull, I am now thinking of going for Jetty. My application will be a fault/problem logging system (broadly) for my office, which will have at the most 5 to 10 concurrent users, sitting on Oracle 10 database. So, if I have one software which is web server and...
  16. cheguvera

    Where is this object? I cannot find it

    Hi, I am working on a Access 2000 project developed by somebody else. There are some forms which I am trying to study. What I have to find is on which table/query the form(s) is based? I am going to the form's design mode and click the "Field List" button on the tool bar. I can see the list of...
  17. cheguvera

    Using Tomcat for production, licensing issues

    Hi sedj, I have no claim what-so-ever that, I am clever then you. You are completely and absolutely correct, http://www.apache.org/foundation/licence-FAQ.html#IsItFee My whole point was, I want to make sure 101% before I start doing any work using Tomcat. Thanks for your help.
  18. cheguvera

    Using Tomcat for production, licensing issues

    Hi, To be honest, I have a doubt. I was not able to find the licensing details on Tomcat's web site. Also, I heard from one of my friend that, its free for development and not for production. But he has also not seen the actual terms from Tomcat. Please guide. Regards
  19. cheguvera

    Using Tomcat for production, licensing issues

    Hi all, I work for a small business. We are around 5 to 10 people in the office. I want to build a small application which we all can access in office, over network. Can I use Tomcat for this purpose? Technically, Yes, I know its a http server along with application server, so I can use it to...
  20. cheguvera

    Can I just copy a report instead of whole MDB file

    Hi, I am new to Access and stuck with a problem. My concept of Access database is, there is one MDB file which hold everything i.e. tables, data, forms, reports, queries etc. I am changing an existing MDB file. I have taken a copy of the original one and added one report to it. But in the...

Part and Inventory Search

Back
Top