Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] banal bash script opinion
- Date: Sun, 18 May 2003 19:02:58 +0900 (JST)
- From: Susumu ISHIZUKA <sufiyanjp@example.com>
- Subject: Re: [tlug] banal bash script opinion
Hi Pietro, I'm not a master of bash scripting, but wrote some shorter version. Hoping this works same as your script. ----------------- #!/bin/bash extension=$(echo $1 | sed -n -e 's/[[:print:]]*\.//gp') extension=${extension:+"."$extension} for i in `seq 0 $(($3 - 1))`;do cp $1 $2$i$extension done ------------------ __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/
- References:
- [tlug] banal bash script opinion
- From: Pietro Zuco
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] A SCO letter
- Next by Date: Re: [tlug] A SCO letter
- Previous by thread: [tlug] banal bash script opinion
- Next by thread: Re: [tlug] banal bash script opinion
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links