Results 1 to 3 of 3

Thread: UNIX help

  1. #1

    UNIX help

    hi i'm new to unix and can someone tell me what is doing this
    line in the ed editor in unix? I wrote it in ed but nothing happend!10x

  2. #2
    Just Another Geek
    Join Date
    Jul 2002
    Rotterdam, Netherlands
    All newbies must learn man, man man for more info

    I don't get the last p bit?!?

    g/<something>/ means print lines that contain <something>. ^ is the start of a line. { is just the karakter {. So g/^{/ means print all lines that begin with {.

    A . (dot) means current addres or line and -1 well.. ehm

    so if test.txt contains:
    { here
    there {
    >ed test.txt
    { here
    there {
    Oliver's Law:
    Experience is something you don't get until just after you need it.

  3. #3
    10x man :} -1 and p i know what they mean,about man u r absolutely right

Similar Threads

  1. Why one OS VS another isn't over played here
    By gore in forum Operating Systems
    Replies: 31
    Last Post: June 5th, 2006, 03:50 PM
  2. Basic Unix security tutorial
    By \/IP3R in forum AntiOnline's General Chit Chat
    Replies: 16
    Last Post: March 7th, 2005, 09:25 PM
  3. UNIX (Non tech)
    By gore in forum Operating Systems
    Replies: 1
    Last Post: October 12th, 2004, 07:29 AM
  4. Newbies, list of many words definitions.
    By -DaRK-RaiDeR- in forum Newbie Security Questions
    Replies: 9
    Last Post: December 14th, 2002, 07:38 PM
  5. UNIX is short for what?
    By Remote_Access_ in forum Security Archives
    Replies: 10
    Last Post: January 12th, 2002, 04:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.