由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - how to print ' in awk and sed.
相关主题
What is different between awk and nawk?请问大侠,该使用qt 还是 gtk ?
双面打印双CPU的问题
how to print the last 2 columns of a text file?why a sleep() process goes into TASK_UNINTERUPTIBLE state?
Help about printing through network!再介绍一篇文章 (转载)
how to block junk mail in unix?Re: Print Chinese????
hotkey in unixPrint out Line Number using lp ???
Cron job on Windows?Re: how to print out man result?
A question for highhands..how to let awk not print?
相关话题的讨论汇总
话题: print话题: sed话题: awk
进入Unix版参与讨论
1 (共1页)
a**n
发帖数: 48
1
see, if I wanna preform this task:
nawk -F"\'" '{print "\'"$1}' junk
but seems \' doesn't work, how to deal
with it? 3x. 8-)
l*l
发帖数: 225
2

nawk -F \' '{ print ##_## $1 }' | sed "s/##_##/'/g"

【在 a**n 的大作中提到】
: see, if I wanna preform this task:
: nawk -F"\'" '{print "\'"$1}' junk
: but seems \' doesn't work, how to deal
: with it? 3x. 8-)

1 (共1页)
进入Unix版参与讨论
相关主题
how to let awk not print?how to block junk mail in unix?
How to print landscapely(vs. Portrait) in Wordperfect?hotkey in unix
awk里怎么换行?Cron job on Windows?
awk求助A question for highhands..
What is different between awk and nawk?请问大侠,该使用qt 还是 gtk ?
双面打印双CPU的问题
how to print the last 2 columns of a text file?why a sleep() process goes into TASK_UNINTERUPTIBLE state?
Help about printing through network!再介绍一篇文章 (转载)
相关话题的讨论汇总
话题: print话题: sed话题: awk