dave_s_wang
11-02-2005, 07:06 PM
need help with my command line skills.....
example:
i want to remove #!/usr/local/bin/php from my *.php files
so far i have:
find . -name "*.php" | xargs --replace {} sed 's/\#\!\/us\r/local\/bin\/php//g' > {}
but it doesn't seem to work because its creating a file {}. Can someone help me out? Thanks!
example:
i want to remove #!/usr/local/bin/php from my *.php files
so far i have:
find . -name "*.php" | xargs --replace {} sed 's/\#\!\/us\r/local\/bin\/php//g' > {}
but it doesn't seem to work because its creating a file {}. Can someone help me out? Thanks!
