Find Jobs
Hire Freelancers

Change to Shell Script to execute PERL - repost

$10-30 USD

完了済み
投稿日: 10年以上前

$10-30 USD

完了時にお支払い
I need an edit made to the following shell script. ( cd $SRC find ./ -type f | while read FILE;do # Build Destination path DEST_FILE=$DST/${FILE#./} callLib [login to view URL] $FILE $DEST_FILE done ) if file is a javascript file (.js) then execute the PERL below and copy the resultant file instead of the orginal to the $DEST_FILE location perl -n -e 's/^\s*\/\/.*$//; s/^\s+//; print if /\S/'
プロジェクト ID: 5237897

プロジェクトについて

5個の提案
リモートプロジェクト
アクティブ 10年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
Hi! I can do the project. I am well experienced in bash scripting.
$20 USD 1日以内
5.0 (2 レビュー)
3.2
3.2
この仕事に5人のフリーランサーが、平均$23 USDで入札しています
ユーザーアバター
Should be do-able in a day. How are we going to determine if the file is a javascript file? Will a simple string extension check suffice? Or do we need to do content detection? Also, will there be any files without an extension? Are there filenames with spaces in them? Looking forward to hear from you.
$30 USD 1日以内
0.0 (0 レビュー)
0.0
0.0
ユーザーアバター
Hello, I think here you are finding all the files in the current directory and reading the content of the file. and you are getting the dstination file name with some junk spaces, that you want to remove using the perl statement. I can do this easily. If i am wrong please correct me and ping me to have a detailed discusssion about the requirement.
$20 USD 1日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

UNITED KINGDOMのフラグ
United Kingdom
5.0
22
メンバー登録日:9月 10, 2003

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。