07-28-2005
how about ksh
how can we set auto complete in ksh??
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How can one setup auto complete under AIX
when you type a path etc. by pressing a sequece of keys yu can complete the line.
Any sugestions !!!! (7 Replies)
Discussion started by: truma1
7 Replies
2. UNIX for Dummies Questions & Answers
Hi !
Can anybody please give me any clue how to set on the Auto Complete option (auto complete paths by pressing escape) in unix ?
Thanks!
Pablo. (4 Replies)
Discussion started by: cordobapablo
4 Replies
3. Shell Programming and Scripting
Hello:
I am using csh, and am a complete noob when it comes to shell scripting.
I want the following:
1) Ignore case when doing auto-complete.
2) If there are multiple matches (example: I have files abc.txt abc.txt.1, abc.txt.2 and type abc<tab>), count the number of matches.
If... (1 Reply)
Discussion started by: madiyaan
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Does anyone know how to make BASH provide a list of possible completions on the first tab, and then start cycling through the possibilites on the next tab?
Right now this is what I have in my .bashrc:
bind "set show-all-if-ambiguous on"
bind \\C-o:menu-complete
This allows... (0 Replies)
Discussion started by: Mithu
0 Replies
5. UNIX for Dummies Questions & Answers
Dear friend i have intalled sun solaris in vmware (vertual machine) untill now every things are ok but i have proplem
when i tray to use tap key in terminal for auto complete the terminal window prsent to me space only i tried many also in many profile it seem the same proplem also if i print... (3 Replies)
Discussion started by: Mohammed-syria
3 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I use KSH a lot.
I wanted to know if I can auto-complete a Variable name in the environment. I know this is possible in tcsh.
I use the vi mode to edit commands on command prompt.
Any help would be much appreciated.
Thanks..!! (4 Replies)
Discussion started by: grep_me
4 Replies
7. Shell Programming and Scripting
*Sorry for my other post in French*
Hi everyone!
In my work I have to find how can I auto complete this type of windows (screenshot) in Shell with defined variables.
http://opsi-fr.opensides.be/opsi-doc/stable/xhtml/fr/images/mysql-config-input-mask.png
Thank you so much for replies! :) (1 Reply)
Discussion started by: devilsnake88
1 Replies
8. UNIX for Advanced & Expert Users
I am using emacs auto-complete. Auto completion works well, however text inside comments blocks is not auto completed. I want to auto complete when writing comments as well but cannot find a way to set it up yet. (0 Replies)
Discussion started by: kristinu
0 Replies
9. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
LEARN ABOUT OPENSOLARIS
let
let(1) User Commands let(1)
NAME
let - shell built-in function to evaluate one or more arithmetic expressions
SYNOPSIS
ksh
let arg...
ksh93
let [expr...]
DESCRIPTION
ksh
Each arg is a separate arithmetic expression to be evaluated.
ksh93
let evaluates each expr in the current shell environment as an arithmetic expression using ANSI C syntax. Variables names are shell vari-
ables and they are recursively evaluated as arithmetic expressions to get numerical values. let has been made obsolete by the ((...)) syn-
tax of ksh93(1) which does not require quoting of the operators to pass them as command arguments.
EXIT STATUS
ksh
ksh returns the following exit values:
0 The value of the last expression is non-zero.
1 The value of the last expression is zero.
ksh93
ksh93 returns the following exit values:
0 The last expr evaluates to a non-zero value.
>0 The last expr evaluates to 0 or an error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
ksh(1), ksh93(1), set(1), typeset(1), attributes(5)
SunOS 5.11 2 Nov 2007 let(1)