Home | Community | Message Board


Vesp.co, Inc.
Please support our sponsors.

Community >> The Pub

Welcome to the Shroomery Message Board! You are experiencing a small sample of what the site has to offer. Please login or register to post messages and view our exclusive members-only content. You'll gain access to additional forums, file attachments, board customizations, encrypted private messages, and much more!

Jump to first unread post. Pages: 1
InvisibleKrishna
कृष्ण,LOL
 User Gallery

Registered: 05/08/03
Posts: 23,285
Loc: oakland
any linux nerds care to help?
    #4037072 - 04/10/05 02:18 PM (13 years, 1 month ago)

i'm trying to use prep to change every instance of /home/sites/ccweb/web/admin to /home/sites/ccweb/web-content

but prep uses the '/' character in its syntax.

Start directory? [.]
File pattern:*.mpl
Recurse subdirectories? [n]y
Keep original file times? [n]n
Save undo information to file [none]?
Command to execute for each line:
s/first/second/g

where first should be /home/sites/web/ccweb/admin and second should be /home/sites/ccweb/web-content

so how can i escape the '/' character so i can use prep to do this? i tried \/ for each instance of '/' but no luck - it just pissed off prep.

anybody?

:rasta:


--------------------




Post Extras: Print Post  Remind Me! Notify Moderator
InvisibletrendalM
tangential derivation
Male User Gallery

Registered: 04/17/01
Posts: 20,637
Loc: Ontario, Canada Flag
Re: any linux nerds care to help? [Re: Krishna]
    #4037184 - 04/10/05 03:04 PM (13 years, 1 month ago)

I would try //


--------------------
Once, men turned their thinking over to machines in the hope that this would set them free.
But that only permitted other men with machines to enslave them.


Post Extras: Print Post  Remind Me! Notify Moderator
InvisibleKrishna
कृष्ण,LOL
 User Gallery

Registered: 05/08/03
Posts: 23,285
Loc: oakland
Re: any linux nerds care to help? [Re: trendal]
    #4037319 - 04/10/05 03:51 PM (13 years, 1 month ago)

not sure if that would work, but i found that i can substitute + for the / - so s+first/phrase/however/long+second/phrase/even/fucking/longer+g and it'll work just fine.

thanks for the help, though!


--------------------




Post Extras: Print Post  Remind Me! Notify Moderator
Jump to top. Pages: 1

Community >> The Pub

Similar ThreadsPosterViewsRepliesLast post
* the shroomery is all nerds???
( 1 2 all )
myCo_psyCo 2,702 37 07/20/05 02:07 PM
by Krishna
* Postng out of linux
( 1 2 all )
RoKiSdEaD 2,789 21 09/10/04 01:34 AM
by Vvellum
* the Phychotrons Officaly Gonna start using Linux Thread
( 1 2 all )
Phychotron 2,465 31 06/06/05 07:47 AM
by MAIA
* Linux vs Windows
( 1 2 all )
afoaf 1,699 21 10/23/04 04:23 PM
by Phluck
* tech nerds, help me please Edge 982 12 03/30/05 05:20 PM
by freddurgan
* This whole linux thing djfrog 612 4 03/12/04 07:21 AM
by Krishna
* I'm A Nerd
( 1 2 3 all )
WeAreAllOne 1,739 41 07/18/05 09:55 AM
by barfightlard
* World of Warcraft nerds! Deathexplosion 600 6 04/21/05 08:20 PM
by Deathexplosion

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Entire Staff
377 topic views. 13 members, 77 guests and 16 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Gaiana.nl
Please support our sponsors.

Copyright 1997-2018 Mind Media. Some rights reserved.

Generated in 0.233 seconds spending 0.173 seconds on 31 queries and 0.034 seconds on Sphinx.