Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Apr 2015 14:41:13 -0400
From:      Jon Radel <jon@radel.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Chop and replace method??
Message-ID:  <55203049.4010003@radel.com>
In-Reply-To: <552021C5.3010309@gmail.com>
References:  <DM__150404113753_01984604235@mail.antennex.com> <55202099.9090908@radel.com> <552021C5.3010309@gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

>>
>> sed -i .bak 's/href=\"..\/..\/..\/archival\/archive13\//href=\"/' *.html
>>
> should not the args include
>
> -s, --separate
>
>               consider files as separate rather than as a single 
> continuous long stream.
>

??   There is no -s option for sed in either 8.4 or 10.1 base version.  
Which sed is that?  FSF running on a Linux box, per chance?

in any case

---
      -i extension
              Edit files in-place similarly to -I, but treat each file 
indepen-
              dently from other files.  In particular, line numbers in each
              file start at 1, the ``$'' address matches the last line 
of the
              current file, and address ranges are limited to the 
current file.
              (See Sed Addresses.)  The net result is as though each 
file were
              edited by a separate sed instance.
---

covers what you need in FreeBSD sed.

--Jon Radel
jon@radel.com




[-- Attachment #2 --]
0	*H
010	+0	*H

00#SanzTgk!0
	*H
0o10	USE10U
AddTrust AB1&0$UAddTrust External TTP Network1"0 UAddTrust External CA Root0
141222000000Z
200530104838Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CA0"0
	*H
0

zSNpRV&IQZI`zQBy"aNv#
J	n=ٺ.CRC|2PȦOZϓ%{0dV*$3DiFK3@@:*S= a<UNv%!)|qvO_T{5R"=,0-1YR73i-C֥wgQ'뼥8v8ߌIs:2:=F:WtaP@?⟢!00U#0z4&&T$T0UakᢠOg£0U0U00U%0++0U 
00U 0DU=0;09753http://crl.usertrust.com/AddTrustExternalCARoot.crl05+)0'0%+0http://ocsp.usertrust.com0
	*H
*nU:Uka+	#fjow^a}[jr
AX&MX"cR6}Xޫ;cs{B#ʶM>K-ػBKiۦ74{:ǟO4ne6d)5ֱqC>2Svʆ4,Jؙ
␒ZBj#!eջ~ꌅ b:,Yř38zyJ&|00sT<}k
`i
0
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CA0
150330000000Z
180329235959Z010	UUS10U2215010	UVA10USpringfield10U	6917 Ridgeway Dr.10U
Jon T. Radel1200U)Issued through Jon T. Radel E-PKI Manager10UCorporate Secure Email10U	Jon Radel10	*H
	
jon@radel.com0"0
	*H
0
aЩ@@g3eGރ͛;	d#>q7&Hf
:3vL"jV#Xݷ>U-H[$SUڻ{Ϝ,z¶IchO=rcyrnv.Vh7k;%ueYuӬ󯅅nz6!| !Aȡ+,u+ 
CAպF-un#vjUJWnk%j]
2JPkl00U#0akᢠOg£0UE|GDp/ʚB0U0U00U%0++0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0]UV0T0RPNLhttp://crl.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crl0+00X+0Lhttp://crt.comodoca.com/COMODOSHA256ClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0
jon@radel.com0
	*H
KS`?H_D`8G߿VbĘ<tB-Ӈї|{'Ũݹg0Gp$%F(;*MO*gt$@t6,?0|#ăz,&!{j2i[%b7ߪP+9G㲍["y<?8rZ'[UR6%L̤
w"=:L~Ƨ^jf36 OP1•.}(e110-0010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0	+U0	*H
	1	*H
0	*H
	1
150404184113Z0#	*H
	1|UXĤ|a1_-0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0*H
	1010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1A0?U8COMODO SHA-256 Client Authentication and Secure Email CAsT<}k
`i
0
	*H
9qR.ob@d@ۭRo82-6ǵεaKvnl75b/-|[[!RsZִ>ѷKD(ķ3Qg؈,?>"[j$ <?9~ś
k
?'Z1VTd4%7`Qda5-c0xY6ױ
3ʇYSzf/7b[2AISFB%"/څEzB
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55203049.4010003>