linux shell two-level de-reference
来源:互联网 发布:网络电视怎么看中央台 编辑:程序博客网 时间:2024/05/15 06:48
#!/bin/sh
arr=("")
arr_backup=("")
v1="rt"
rt="hello"
func1()
{
local att="att$1"
}
ttt="${!v1}"
arr=("")
arr_backup=("")
v1="rt"
rt="hello"
func1()
{
local att="att$1"
}
ttt="${!v1}"
echo "ttt = $ttt"
输出:
ttt=hello
在Makefile中
SYS=posix
SO_EXT=$(SO_$(SYS))
==> SO_EXT=$(SO_posix)
- linux shell two-level de-reference
- Shell & Linux commands reference
- LINUX reference
- Linux Shell - Trying to split a string into two variables
- How to de-bug the shell script?
- SRM675(div2) Level Two ShortestPathWithMagic
- de
- de
- Linux下不同颜色命de文件类型 以及重要de配置文件
- Two Part: Level 90 Heuksal In SRO
- 两级页表(Two-Level Page Table)
- SRM 582 Div II Level Two SpaceWarDiv2
- SRM 583 Div Level Two:IDNumberVerification
- Test SRM Level Two: CountExpressions, Brute Force
- SRM 219 Div II Level Two: HealthFood
- SRM 233 Div II Level Two: PipeCuts
- SRM 299 Div II Level Two: Projections
- SRM 577 Div II Level Two: EllysRoomAssignmentsDiv2
- Android获取版本号
- struts2+xheditor+上传图片功能
- java转json方式
- C语言#pragma预处理
- Computer Vision: A Modern Approach (Second Edition)
- linux shell two-level de-reference
- 数据库大牛
- js两种常见的参数获取方式
- jquery multifile.js
- 暑假游
- 什么是POP3、SMTP和IMAP?
- windows_设置鼠标
- Windows下利用MinGW编译FFmpeg
- jquery multifile.package.js 上传文件插件javascript 源码