Tag Info

New answers tagged

2

I am not aware of any size limits for here-doc. I'm running kernel 3.9.1 and I've been experiencing the same issue here: when pasting large chunks of text in terminal some lines are truncated or missing. I found out (after some googling) that if you turn off line editing, pasting works fine (discussion here: Pasting large amounts of text into ...


2

The PTF was replaced by a normal update in the mean time. Just use zypper or yast to install it.


0

# rpm -Uvh --test readline-5.1-24.4.7406.0.PTF.898762.i586.rpm error: Failed dependencies: readline = 5.0-9 is needed by (installed) readline-devel-5.0-9 means, that you have a readline-devel package installed of version 5.0.9 and the PTF you are trying to install would upgrade the main package only and not the -devel one as well. Which could cause ...


0

I am pretty sure bash can't do that. But in zsh foo() { local -a compcontext compcontext=( ${(f)"$(</tmp/names)"} ) vared -c -p 'Enter in user: ' user } Will generate a list of matches from a file with a single name on each line. Or, if you want to complete words for read and not the input it reads; in bash complete -W "$(</tmp/names)" read ...



Top 50 recent answers are included