Omgili - forum search, search forums  
  

Discussions about awk php

Displaying 1 - 10 out of 353 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hi I am stuck with this I want to replace all include('./ in a set of files with include(' . I am trying to use awk as follows: awk '{gsub("include\('"'"'./", "include\('"'"'", $0); print > FILENAME}' *.php It throws me this error. awk: (FILENAME=xyz...
Started by on , 5 posts by 5 people.  
Try this : awk '{gsub("include(\'"'"'./", "include\('"'"'", $0); print > FILENAME}' *.php you}' *.php how about this ? awk '{gsub("include(\47./", "include(\47", $0); print > FILENAME}' *.php Did}' *.php....
Hi, I made a awk script to do stuff on some input files but as I want to avoid installing gawk on the windows machines I want this awk script to be available as a webservice or just a form where I can either upload a file or just copy the text of the ...
Started by on , 3 posts by 3 people.  
At the back end, you can either make a system call to gawk binary OR you can recode your gawk script using PHP(or your.
Suggestion, set up a web server, create a form using PHP (or your fav language).
Hi All, I am currently working as a software developer mainly coding in PHP & JS at the current job. I have about 2 years of experience, mostly in web development and i am trained in Java. Have some basic work experience in Struts. I recently have 2 job...
Started by on , 8 posts by 8 people.  
That the Systems Analyst job is probably not what you want, but CGI-AWK - are these people from the Stone-AWK and nothing else, or do they really? If you will have a chance to use new tools for new code that next week or next year they ....
Ask your Facebook Friends
I need to extract some data from a CSV file. The CSV is a 2 column file with multiple records. The first column is the date, the second column is the data that needs to be extracted. The first row of the CSV file is the column headers, so it can be skipped...
Started by on , 3 posts by 3 people.  
And remove lines starting with { or } or "{ extract the section .
However, here's a quick and dirty version the php structure syntax s:X:Y, b:X, ...
I suggest you use PHP to de-serialize the structure.
Hi All. Thanks for your help in advance. I have a requirement to examine the number of delimiters in each record of a file. If the record has the expected number of delimiters it should be passed into a 'good' file. If it does not, the record should be...
Started by on , 6 posts by 3 people.  
Answer Snippets (Read the full thread at unix):
I am still having an issue I Changed code to PHP Code: awk - FCode: awk -F<delim> '{if(NF!=field_count) print NR,$0 > "badfile"; else print NR,$0 >}/landing/Validation_EDITED/new_${lfile....
Goodfile"}' Thanks shamrock...
Hi all, Thank you for taking the time to read my post. I was wondering about the feasibility of writing a web application to carry out pattern matching in text files - basically what awk was designed to do, but with a browser based interface to make ...
Started by on , 7 posts by 3 people.  
Answer Snippets (Read the full thread at omgili):
If you want awk-like behavior, the easiest way to get it is to use awk.
Something like that, I'd write a CGI script - in awk/gawk - that would create an awk script, or select it to the browser (and delete the temp file).
I've recently purchased an Apple iMac. Unfortunately, enabling Apache and PHP has thrown up some problems. I enabled Mac's built-in Web Sharing through System Preferences, at which point I got an output and could add HTML files to my user directory. However...
Started by on , 4 posts by 4 people.  
It's a nice approach for a quick.
This is a "pre-made" webserver that includes Apache, PHP & MySql.
It will take a bit of time to set it up .
I would recommend using your Apache and PHP via MacPorts .
Is it wrong to use PHP as a server side language? For functions such as mail notifications / fraud checks (look for data, flag, then email type approach) / db cleanup / upload folder cleanup / cronjob type functions etc; I've ran into some projects lately...
Started by on , 7 posts by 7 people.  
Ps: PHP web ....
I write all my maintenance scripts in PHP and haven't had any problems.
PHP definitely has its uses webpage in your PHP CLI scripts.
Scripting (+ grep/awk/sed/whatever) might be what you're looking for.
On Mon, 6 Jul 2009 19:16:31 -0700, "Greg Russell" <me@privacy.net May I ask for help please? I need to edit an HTML page so that current email address links are processed by the client's email program, rather than by our php page that sends via...
Started by on , 6 posts by 4 people.  
Answer Snippets (Read the full thread at omgili):
On Mon, 06 Jul 2009 22:50:05 -0400, Barry Margolin <barmar@alum.mit.edu In article <7bfpg6F22mr62U1@mid.individual.net "Greg Russell" <me@privacy.net Something like this: sed 's|href="/mailingList.php?ID=.*"</td -- Barry Margolin, barmar... .
Hi, I was wondering how to create a chat bot for Google Talk via special client. I know it uses XMPP to send messages, but I do not know how to use this at all. It is my understanding that I should be able to make a bot which chats for me when I am away...
Started by on , 3 posts by 3 people.  
Check this ....
PHP is absolutely the last language I would use for something like this (well, okay, I wouldn't do it in awk or sed either connecting to the talk google server.
Have a look at the examples.
The xmpphp library should help you.
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • Server Fault
  • UNIX for Dummies Questions & Answers - The UNIX and Linux
Related Searches
php awk   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost