Home | Community | Message Board


Vaposhop
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,284
Loc: oakland
any linux nerds care to help?
    #4037072 - 04/10/05 02:18 PM (11 years, 7 months 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
point of inflection
Male User Gallery

Folding@home Statistics
Registered: 04/17/01
Posts: 19,376
Loc: Ontario, Canada
Re: any linux nerds care to help? [Re: Krishna]
    #4037184 - 04/10/05 03:04 PM (11 years, 7 months ago)

I would try //


--------------------
You're here because you know something.
What you know you can't explain,
But you feel it;
You've felt it your entire life.
That there's something wrong with the world.
You don't know what it is, but it's there....
Like a splinter in your mind...
Driving you mad.


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

Registered: 05/08/03
Posts: 23,284
Loc: oakland
Re: any linux nerds care to help? [Re: trendal]
    #4037319 - 04/10/05 03:51 PM (11 years, 7 months 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
* Those of you running Linux Llamanose 584 11 10/17/08 05:44 AM
by mndfreeze
* the shroomery is all nerds???
( 1 2 all )
myCo_psyCo 2,282 37 07/20/05 02:07 PM
by Krishna
* Postng out of linux
( 1 2 all )
RoKiSdEaD 1,960 21 09/10/04 01:34 AM
by Vvellum
* Funny picture for math nerds.
( 1 2 3 all )
OneMoreRobot3021 2,832 46 10/07/08 09:28 PM
by isaacein
* Whos a bigger nerd?
( 1 2 3 all )
blewmeanie 2,269 42 12/03/08 08:44 PM
by wrestler_az
* Nerds
( 1 2 3 4 all )
MOTH 4,278 69 08/15/05 07:44 PM
by HELLA_TIGHT
* nerd: the new cool Drewwyann 1,170 13 05/28/07 02:56 PM
by AlCapwn
* installing programs on linux?(ubuntustudio) DistortedEyes 815 10 09/10/07 03:21 AM
by Cepheus

Extra information
You cannot start new topics / You cannot reply to topics
HTML is disabled / BBCode is enabled
Moderator: Entire Staff
345 topic views. 26 members, 168 guests and 92 web crawlers are browsing this forum.
[ Toggle Favorite | Print Topic | Stats ]
Search this thread:
Everything Mushrooms
Please support our sponsors.

Copyright 1997-2016 Mind Media. Some rights reserved.

Generated in 0.025 seconds spending 0.004 seconds on 14 queries.