- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
Could anybody contribute an amplex-cl bash completion?
Thanks!
best regards!
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Please describe your problem or what you want help with. I'm sorry, but your request is too vague. :\
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Apparently, this refers to setting up for bash tab completion to fill in parameters for amplxe-cl.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Okay, but that has nothing to do with VTune Amplifier, right? Or, is there someway to create a definition so that bash can suggest parameters? I'm not familiar with that, at all.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Yeah. Usually amplxe-cl can be used in user's script which was completed by bash. For example -
#!/bin/sh
source /opt/intel/vtune_amplifier_xe_2015/amplxe-vars.sh
amplxe-cl -c advanced-hotspot ...
amplxe-cl -R hotspots...
#User can analyze result here...
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Tim Prince wrote:
Apparently, this refers to setting up for bash tab completion to fill in parameters for amplxe-cl.
yes, this is what I want, amplex-cl have good "-help", but just want to reduce the typing and typo. of course people can live without it.
Thanks!
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
MrAnderson (Intel) wrote:Yes there are ways to define tab completion rules https://debian-administration.org/article/316/An_introduction_to_bash_completion_part_1 https://iridakos.com/tutorials/2018/03/01/bash-programmable-completion-tutorial.html Completions for commonly used commands are usually shipped by the shell itself or the supporting community https://github.com/scop/bash-completion/tree/master/completions https://github.com/zsh-users/zsh-completions/ Some (less wide spread) programs with CLI ship their own completion https://github.com/ninja-build/ninja/blob/master/misc/bash-completion
Okay, but that has nothing to do with VTune Amplifier, right? Or, is there someway to create a definition so that bash can suggest parameters? I'm not familiar with that, at all.
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable