![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Concatenating records from 2 files | Powcmptr | UNIX for Dummies Questions & Answers | 4 | 04-02-2008 04:57 PM |
| concatenating x files into a one... | Nicol | UNIX for Dummies Questions & Answers | 1 | 09-30-2004 09:13 AM |
| text files, ASCII files, binary files and ftp transfers | Perderabo | Answers to Frequently Asked Questions | 0 | 04-08-2004 05:25 PM |
| grep multiple text files in folder into 1 text file? | coppertone | UNIX for Dummies Questions & Answers | 7 | 08-23-2002 03:50 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
zazzybob!
Your answer (found via Google search) is a great help to me, thanks. $ cd /path/to/files $ files=* $ cat $files > bigfile I modified it like that: $ cd /path/to/files $ files=*.txt $ cat $files > bigfile.txt How could I insert in front of the content of each file some special string, like many dashes, and / or the given file's name? So, the bigfile.txt looked like this: ********* file1.txt content of file1 ********* file2.txt content of file2 ********* file3.txt content of file3 ... ... etc Thanks a lot, Tamas (I use Kubuntu, by the way) |
|
|||||
|
Quote:
![]() I also have a wee suspicion that this whole thing is a homework post anyway "I need the answer asap (today)" - hmmm Cheers ZB |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|