标题: sed或awk怎样把指定的字符串替换为空,怎么写命令行? [打印本页]
作者: 我来了 时间: 2018-12-24 16:29 标题: sed或awk怎样把指定的字符串替换为空,怎么写命令行?
指定的字符串:invoke-static {}, Lcom/hook/testsmali/InjectLog;->rintFunc()V
要求必须用: sed 或 awk
帮助我的会得到破解版的软件一套,谢谢。- .class public Ltv/danmaku/ijk/media/player/IjkMediaCodecInfo;
- .super Ljava/lang/Object;
- .source "IjkMediaCodecInfo.java"
-
-
- # static fields
- .field public static final RANK_ACCEPTABLE:I = 0x2bc
-
- .field public static final RANK_LAST_CHANCE:I = 0x258
-
- .field public static final RANK_MAX:I = 0x3e8
-
- .field public static final RANK_NON_STANDARD:I = 0x64
-
- .field public static final RANK_NO_SENSE:I = 0x0
-
- .field public static final RANK_SECURE:I = 0x12c
-
- .field public static final RANK_SOFTWARE:I = 0xc8
-
- .field public static final RANK_TESTED:I = 0x320
-
- .field private static final TAG:Ljava/lang/String; = "IjkMediaCodecInfo"
-
- .field private static sKnownCodecList:Ljava/util/Map;
- .annotation system Ldalvik/annotation/Signature;
- value = {
- "Ljava/util/Map",
- "<",
- "Ljava/lang/String;",
- "Ljava/lang/Integer;",
- ">;"
- }
- .end annotation
- .end field
-
-
- # instance fields
- .field public mCodecInfo:Landroid/media/MediaCodecInfo;
-
- .field public mMimeType:Ljava/lang/String;
-
- .field public mRank:I
-
-
- # direct methods
- .method public constructor <init>()V
- .locals 1
- .prologue
-
-
- invoke-static {}, Lcom/hook/testsmali/InjectLog;->PrintFunc()V
-
- .line 15
- invoke-direct {p0}, Ljava/lang/Object;-><init>()V
-
- .line 28
- const/4 v0, 0x0
-
- iput v0, p0, Ltv/danmaku/ijk/media/player/IjkMediaCodecInfo;->mRank:I
-
- return-void
- .end method
复制代码
作者: Batcher 时间: 2018-12-24 18:16
- sed "s#invoke-static {}, Lcom/hook/testsmali/InjectLog;->PrintFunc()V##" 1.txt > 2.txt
复制代码
作者: 我来了 时间: 2018-12-24 18:44
回复 2# Batcher
https://pan.baidu.com/s/121dpeAozYo-rteqg6bHbIg 提取码: w3xj
作者: Batcher 时间: 2018-12-24 19:07
回复 3# 我来了
干啥?
作者: 我来了 时间: 2018-12-24 19:37
回复 4# Batcher
赠品
作者: Batcher 时间: 2018-12-24 23:38
回复 5# 我来了
我用不到,留给其他人吧
欢迎光临 批处理之家 (http://www.bathome.net/) |
Powered by Discuz! 7.2 |