Sponsored Content
Top Forums Shell Programming and Scripting Help to explaining a command in run dot tcl Post 302741289 by spacebar on Saturday 8th of December 2012 12:26:42 AM
Old 12-08-2012
It's probably "tcsh" or "csh", so check out the info for using "alias"(i.e.\!*) at this link:Writing Aliases in csh and tcsh
This User Gave Thanks to spacebar For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

run tcl (please help!)

:confused: Hi !! I'm in a new system, trying to run some old scripts tcl I have. Tcl is installed (see below), and the OS is linux (see below env). All my scripts tcl begin with: #!/bin/sh # the next line restarts using tclsh \ exec tclsh "$0" "$@" 1 But they don't want to run... ... (2 Replies)
Discussion started by: cordobapablo
2 Replies

2. UNIX for Dummies Questions & Answers

command to list dot files

hey. i am a bit new to unix and i am trying to figure out how to list the names of the 'dot' files that are in my account. what command does this? thank you very much for your help. (4 Replies)
Discussion started by: Jakeman1086
4 Replies

3. Linux

The dot command-line utility?

Hi, What else is the dot used beside relative filepaths in bash? Is it a shell utility as well? No man entry for dot (.)... (3 Replies)
Discussion started by: varelg
3 Replies

4. UNIX for Dummies Questions & Answers

I'm unable to run Keyed List commands(in ubuntu's terminal and Evolane Tcl Engine)

I'm trying to run these commands (keylset,keylget) but i keep getting a error message "invalid command name "keylset"". I've tried running it on both ubuntu's terminal and also Evolane Tcl Engine. Any idea what could be the problem? (1 Reply)
Discussion started by: abe171
1 Replies

5. Shell Programming and Scripting

how to call dot c file using system command

Hi every one, i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf,... (1 Reply)
Discussion started by: goraya430
1 Replies

6. Programming

how to call dot c file using system command

Hi every one, i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf, "ss_xxx.pc... (4 Replies)
Discussion started by: goraya430
4 Replies

7. UNIX for Dummies Questions & Answers

Tcl script wont run in bash shell

Hello I'm having a problem running a TCL script in my new OpenSolaris OS. When I go to the directory containing my script called 'Install' (using the gnome terminal), it doesn't seem to be able to find it even though it lists it i.e. if I type "Inst" and hit tab to complete the word, it... (11 Replies)
Discussion started by: sbsbg
11 Replies

8. UNIX for Dummies Questions & Answers

Dot and redirected output syntax in a tar command

Hi All, Please could anyone advise what the purpose of the dot syntax in the following command means: tar -cvf ${WORKING_BACKUP_ROOT}/${TAR_ARCHIVE_FILE} . >/${BACKUP_ROOT}/${ARCHIVE_LOG} Many thanks (2 Replies)
Discussion started by: daveu7
2 Replies

9. Shell Programming and Scripting

how to remove a variable starting with dot using sed command

Hi, I want to remove a variable starting with dot(.) in a file using sed command. aaa sss .abc s/^\.abc/d I tried this but it didnt worked. (5 Replies)
Discussion started by: vdhingra123
5 Replies

10. Shell Programming and Scripting

Script for telnet and run one command kill it and run another command using while loop

( sleep 3 echo ${LOGIN} sleep 2 echo ${PSWD} sleep 2 while read line do echo "$line" PID=$? sleep 2 kill -9 $PID done < temp sleep 5 echo "exit" ) | telnet ${HOST} while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies
MooseX::Aliases(3pm)					User Contributed Perl Documentation				      MooseX::Aliases(3pm)

NAME
MooseX::Aliases - easy aliasing of methods and attributes in Moose VERSION
version 0.10 SYNOPSIS
package MyApp; use Moose; use MooseX::Aliases; has this => ( isa => 'Str', is => 'rw', alias => 'that', ); sub foo { my $self = shift; print $self->that } alias bar => 'foo'; my $o = MyApp->new(); $o->this('Hello World'); $o->bar; # prints 'Hello World' or package MyApp::Role; use Moose::Role; use MooseX::Aliases; has this => ( isa => 'Str', is => 'rw', alias => 'that', ); sub foo { my $self = shift; print $self->that } alias bar => 'foo'; DESCRIPTION
The MooseX::Aliases module will allow you to quickly alias methods in Moose. It provides an alias parameter for "has()" to generate aliased accessors as well as the standard ones. Attributes can also be initialized in the constructor via their aliased names. You can create more than one alias at once by passing a listref: has ip_addr => ( alias => [ qw(ipAddr ip) ], ); FUNCTIONS
alias ALIAS METHODNAME Installs ALIAS as a method that is aliased to the method METHODNAME. CAVEATS
The order of arguments for the "alias" method has changed (as of version 0.05). I think the new order makes more sense, and it will make future refactoring I have in mind easier. The old order still works (although it gives a deprecation warning), unless you were relying on being able to override an existing method with an alias - this will now override in the other direction. The old argument order will be removed in a future release. BUGS
No known bugs. Please report any bugs through RT: email "bug-moosex-aliases at rt.cpan.org", or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=MooseX-Aliases>. SEE ALSO
o Moose o Method::Alias SUPPORT
You can find this documentation for this module with the perldoc command. perldoc MooseX::Aliases You can also look for information at: o AnnoCPAN: Annotated CPAN documentation http://annocpan.org/dist/MooseX-Aliases <http://annocpan.org/dist/MooseX-Aliases> o CPAN Ratings http://cpanratings.perl.org/d/MooseX-Aliases <http://cpanratings.perl.org/d/MooseX-Aliases> o RT: CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Aliases <http://rt.cpan.org/NoAuth/Bugs.html?Dist=MooseX-Aliases> o Search CPAN http://search.cpan.org/dist/MooseX-Aliases <http://search.cpan.org/dist/MooseX-Aliases> AUTHORS
o Jesse Luehrs <doy at tozt dot net> o Chris Prather <chris@prather.org> o Justin Hunter <justin.d.hunter at gmail dot com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jesse Luehrs. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.12.3 2011-04-29 MooseX::Aliases(3pm)
All times are GMT -4. The time now is 02:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy