bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash lacks perl's "x" repetition operator


From: Dan Jacobson
Subject: bash lacks perl's "x" repetition operator
Date: Fri, 13 Feb 2004 03:38:13 +0800
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

>> Perhaps add this to the cwgen man page as an interesting exercise:
>> $ cwgen -c '             VU'|cw -w 25

Joop> Nice! Seems like a good exercise, will add it to the manpage.

Also: emulate real radio stations:
$ c=hlf; yes cq cq cq de $c $c $c qsx 12mhz k '            '|cw -w 20

Alas, both the above could be made less goofy looking if bash only had
perl's "x" repetition operator.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]