Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
directory stack from textfile (BASH) ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ggelln
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2003
Posts: 98
Location: Montreal Quebec

PostPosted: Thu Mar 13, 2003 3:55 pm    Post subject: directory stack from textfile (BASH) ? Reply with quote

I would like to create a list of directories using a cat
redirect, then pop the top dir name use it then discard it . . . and leave the new pruned list (as a file on my harddrive)

Is there and easy way to do this, or will I get down and dirty and write the control stuctures . . .

Gabriel
Back to top
View user's profile Send private message
ggelln
Tux's lil' helper
Tux's lil' helper


Joined: 24 Jan 2003
Posts: 98
Location: Montreal Quebec

PostPosted: Thu Mar 13, 2003 4:08 pm    Post subject: Reply with quote

ah never mind, it isn't that hard . . .
lovely sed . . .

Gabriel
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum