![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| create data file from report file | cvvsnm | UNIX for Dummies Questions & Answers | 3 | 02-01-2008 12:25 PM |
| Read words from file and create new file using K-shell. | bsrajirs | Shell Programming and Scripting | 4 | 06-01-2007 01:15 PM |
| Create A File | big123456 | UNIX for Advanced & Expert Users | 3 | 05-23-2007 03:44 PM |
| File Compare and Create New File with Diff | guiguy | UNIX for Advanced & Expert Users | 7 | 02-28-2007 06:43 AM |
| How to create .SO file (DLL) | sarwan | High Level Programming | 3 | 09-29-2005 10:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
hi
i am using the followning code to create a new file in given folder PATH="/home/sat/kat" ls $FILESPATH | while read filename do touch $PATH$filename ......... done but it is not working ,please help thanks Satya |
|
||||
|
Something like this:
-->
PATH="/home/sat/kat" ls "$FILESPATH" | while read filename do touch "$PATH$"/"$filename" ......... done Code:
PATH="/home/sat/kat"
ls "$FILESPATH" | while read filename
do
touch "$PATH$"/"$filename"
.........
done
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|