![]() |
any developers code shell scripts?
anyone code bash shell scripts?
leave your contact info thanks. |
Usually people would say "See sig"
In this case I can only say... Look at YOUR sig :) |
ya, they dont do shell scripting, or else i wouldnt have made the post
|
Search round on freshmeat and sourceforge.
Unless you need something really complex it's probably done already. Image resizing, movies pics extraction and so on... there are like 500 scripts that do these tasks. |
Quote:
its for posting to a source code site from the command line. one of the parameters is tags: tag1,tag2,tag3 not sure how to parse that in a shell script |
why does it need to be a "bash" shell script? You can run perl, php, etc from the shell.
http://www.phpbuilder.com/columns/darrell20000319.php3 |
Quote:
|
Code:
#!/usr/local/bin/php -q |
Quote:
|
Generally for command line stuff I just do it in perl.
|
Quote:
|
see see sig
|
Quote:
doridori - go eat a sick dick punk |
this basically does what i want it to do, but in perl
Code:
#!/usr/bin/perl -w Code:
snipplr -c -meta ":title=>'test post',:tags=>'tag1 tag2 tag3',:language=> 'php'" < sourcode.phps |
It sounds to me like the 'curl' command line does exactly what you are after...
http://curl.haxx.se/docs/manpage.html ...or i might have misread completely. |
hehe... today is the first time I ever looked at snipplr... how funny
|
All times are GMT -7. The time now is 02:53 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123