由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - How to use file modifiers in bash/sh
相关主题
Change shell to tcsh?script language that runs on multiple platiform
which shell is best?请推荐一本Unix的最全面的书籍阿
[转载] 再请教高手怎么从script中把环境变量传回到当前shell中? (转载)
请教个scripts的问题how to convert csh shell script to dos batch file
我的alia放在script里为什么不工作?perl , ssi 问题
够执着的 --- Re: 我的alia放在script里为什么不工作?提示我 too many ('s 怎么办?
[转载] using ssh in tcsh scripthow to run background process after logout
ft, 本版备忘录关于cxterm的问题
相关话题的讨论汇总
话题: bash话题: modifiers话题: sh
进入Unix版参与讨论
1 (共1页)
x***o
发帖数: 2
1
In csh/tcsh scripts, I use
set basename = $1:r
to obtain the root name of $1.
What's the equivalent in sh/bash scripts?
Thanks.
1 (共1页)
进入Unix版参与讨论
相关主题
关于cxterm的问题我的alia放在script里为什么不工作?
Re: how to change all the files .cpp to .C够执着的 --- Re: 我的alia放在script里为什么不工作?
[转载] About the history[转载] using ssh in tcsh script
如何单步执行shell?ft, 本版备忘录
Change shell to tcsh?script language that runs on multiple platiform
which shell is best?请推荐一本Unix的最全面的书籍阿
[转载] 再请教高手怎么从script中把环境变量传回到当前shell中? (转载)
请教个scripts的问题how to convert csh shell script to dos batch file
相关话题的讨论汇总
话题: bash话题: modifiers话题: sh