Find Jobs
Hire Freelancers

Change to Shell Script to execute PERL - repost

$10-30 USD

Tamamlandı
İlan edilme: 10 yıldan fazla önce

$10-30 USD

Teslimde ödenir
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/'
Proje No: 5237897

Proje hakkında

5 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 10 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
Hi! I can do the project. I am well experienced in bash scripting.
$20 USD 1 gün içinde
5,0 (2 değerlendirme)
3,2
3,2
5 freelancer bu proje için ortalama $23 USD teklif veriyor
Kullanıcı Avatarı
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 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
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 gün içinde
0,0 (0 değerlendirme)
0,0
0,0

Müşteri hakkında

   UNITED KINGDOM bayrağı
United Kingdom
5,0
22
Eyl 10, 2003 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.