bburgess@gara.une.oz (Bryan Burgess) (08/15/88)
I have a little script I would like to convert to an alias in my .cshrc file, however I have had no luck trying, I just can't seem to get the csh to ignor the bits I don't want it to read, and to read the bits it should etc Can anyone give me a script that will work, below is the one line script and a sample data file SCRIPT: cat data | sed -n '/^#N[ ]*'$1'/,/^[# ]*$/p' DATA: #N fred #U more stuff #R hello #N jim #U even more stuff #R ehehe Please Email any replies to... ---------------------------+----------------------------------------------- Bryan Burgess | University of New England | ACSNET: bburgess@gara.une.oz Armidale N.S.W. 2350 | UUCP: ...!uunet!munnari!gara.une.oz!bburgess AUSTRALIA | ARPA: bburgess%gara.une.oz@uunet.uu.net ---------------------------+-----------------------------------------------