Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-22-2003, 09:45 AM   #1
LQ Newbie
Registered: May 2003
Posts: 8

Rep: Reputation: 0
Angry help with bundle script

i have a bundle script:
#bundle group files in distribution package

echo"# To unbundle sh this file"
for i
echo "echo $i 1>&2"
echo "cat >i <<'End of $i'"
cat $i
echo "END of $i"
This script works it bundles and unbundles all file given as arguments.
Now i want to change the script so i can unbundle only some files given as arguments.If no files are given as arguments all file should be recreated.
I need help with this.
How do i change the script so i can do this??
Thanks for the help!!
Old 05-22-2003, 09:48 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
I don't follow what you are trying to do? Join lots of files together into a single larger file? Then split them up again after? If so why can't you use tar?


Old 05-22-2003, 10:01 AM   #3
LQ Newbie
Registered: May 2003
Posts: 8

Original Poster
Rep: Reputation: 0
yes tar is cool'
But i need to change this bundle script.
this is related to the Here document.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samsung Electronics To Bundle Servers with Linux, t3gah Linux - General 1 06-29-2005 09:48 AM
Why developers don't bundle dependencies mooreted Linux - General 6 12-05-2004 05:56 PM
make problems installing Bundle:Bugzilla on SuSE 9 mosko Linux - Software 0 03-20-2004 03:01 AM
KDE Bundle mackie_lin Linux - Software 2 11-27-2002 08:37 PM
THEY'RE HERE: My little bundle of joy pickledbeans Slackware 2 07-06-2002 11:41 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration