sed and grep stopped working!
by Todd Chester
Hi All,
grep and sed stopped working! I dnf re-installed them
both. No joy
What the heck (not my "actual" word)?
<editorial comment> AAAAAAAAHHHHHHHHH!!!!!!!! </editorial comment>
How do I fix this?
Many thanks,
-T
uname -r
4.17.9-200.fc28.x86_64
# rpm -qa grep
grep-3.1-5.fc28.x86_64
# rpm -qa sed
sed-4.5-1.fc28.x86_64
$ echo "a-b-c" | sed -e 's/-//g'
<nothing>
Workaround:
$ echo "a-b-c" | perl -pe 's/-//g'
abc
$ echo "a-b-c" | perl6 -pe 's:g/\-//'
abc
$ ls -al /tmp | sed -n 3,4p
<nothing>
Workaround:
$ ls -al /tmp | perl6 -ne ".say if 3 <= ++$ <= 4"
dr-xr-xr-x. 19 root root 278 Apr 11 20:43 ..
drwxr--r--. 2 todd users 40 Aug 17 00:08 ARI
$ x=3; y=4; ls -al /tmp | perl6 -ne ".say if $x <= ++$ <= $y"
dr-xr-xr-x. 19 root root 278 Apr 11 20:43 ..
drwxr--r--. 2 todd users 40 Aug 17 00:08 ARI
# echo "abc" | grep "ab"
<nothing>
Work around:
$ echo "abc" | ack "ab"
abc
5 years, 7 months
Where is Perl 5's "say" module?
by ToddAndMargo
Hi All,
I am not find Perl 5's "say" in
https://ewr.edge.kernel.org/fedora-buffet/fedora/linux/releases/28/Everyt...
# dnf list perl-say*
Last metadata expiration check: 0:09:13 ago on Fri 17 Aug 2018 09:58:26
AM PDT.
Error: No matching Packages to list
# perl -Msay -e 'say "Hi";'
Can't locate say.pm in @INC (you may need to install the say module)
(@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5).
BEGIN failed--compilation aborted.
And I tried downloading it from cpan and it won't install.
What am I missing?
Many thanks,
-T
5 years, 7 months
cblas_ctrmv
by Patrick Dupre
Hello,
How can I get the routine
cblas_ctrmv
?
Thank.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
5 years, 7 months
Home Routers (Totally OT)
by Jonathan Ryshpan
I have just replaced my old home router, which had stopped working,
with a Trendnet AC1900 Dual Band Wireless Router, model TEW-818DRU. I
need to replace the Trendnet router because I am totally unhappy with
it. However, since the Trendnet router was recommended by some sites
which I usually trust, like Cnet, I'm reaching out to people who may
know something about networking. (I know very little.) Can anyone
recommend a router that actually works?
Let's start with the problems with the Trendnet router. Here is the
table of connected devices.
Wired Connected Devices
#
IP Address
MAC Address
Host Name
1192.168.10.102C8:1F:66:0B:98:B
4Oaklandweather2192.168.10.10114:DD:A9:7E:4C:52amito3192.168.10.10388:3
6:5F:F7:0C:95android-a81a750feb8c4486
1. What is the device android-a81a750feb8c4486? There are only two
devices connected to the router by wires. Very odd.
2. The router has a DNS server in it. The server doesn't know
anything about any of these devices, so I will have to set up
/etc/hosts in all of the computers in the local net manually. Trendnet
customer support has informed me that this is not a bug but a feature.
3. There are issues with the way the router's DHCP sets up the
attached computers so that searches aren't referred to higher level
servers in my local net. More devices have to be entered into
/etc/hosts by hand.
Does anyone know what's going on here? Can anyone recommend a router
that handles networking properly and that puts out a strong signal for
my wireless hot spot?
Many Thanks - jon
5 years, 7 months
How to customize an install.img image
by Francis.Montagnac@inria.fr
Hi.
We would like to add some RPMs to the install.img image for deploying
servers with PXE.
I have found this documentation:
https://fedoraproject.org/wiki/How_to_create_a_Fedora_install_ISO_for_tes...
but it seems rather outdated (the pungi command do not exist any more,
and the pungi-koji one do not seems to have the same syntax) and I
don't find the kickstart file to use for the Server install.img image.
Any idea to how to do that?
Thanks.
I know that one may use an updates.img image but it will be tedious to
build it without having the list of RPMs of the current install.img
image.
--
francis.montagnac(a)inria.fr, SIC-SAM, Tel: (33) 04 92 38 79 11, Bur: C111
INRIA Sophia, 2004, route des Lucioles - BP 93 06902 Sophia Antipolis Cedex
5 years, 7 months
grub2 - add NVME to boot from - how?
by lejeczek
hi guys,
I thought I should ask before I start fiddling and break something - can
we tell grub2 to add nvme device as an option to boot from?
And if yes, then what to tell grub?
many thanks, L.
5 years, 7 months
libreoffice 6.1 ??
by ToddAndMargo
Anyone know when we will see Libre Office 6.1 in the repos?
5 years, 7 months
NFS mount from VM -
by Bob Goodwin
I have an Fedora 28 computer with Fedora 27 running in virtual manager.
My NFS server refuses its connection although the Fedora28 computer
itself connects routinely. Ping and ssh can connect to the NFS server
from the VM. Stopping Firewalld and setenforce 0 in the VM make no
difference.
NFS exports is:
[bobg@ASRock-J3455M ~]$ cat /etc/exports
/home/exports
192.168.1.0/24(rw,sync,insecure,no_root_squash,no_subtree_check)
Can anyone suggest what I might have wrong?
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-27/64bit LINUX XFCE Fastmail POP3
5 years, 7 months
strange vlc error
by François Patte
Bonjour,
I had some problem with vlc after an upgrade to f28.
For *one* user vlc crashed on startup with these messages:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
[00007f72ac002c50] glconv_vaapi_x11 gl error: vaInitialize: unknown
libva error
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
libva info: Found init function __vaDriverInit_1_1
radeon: Failed to allocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: alignment : 4096 bytes
radeon: domains : 4
radeon: va : 0x0000000000800000
radeon: Failed to deallocate virtual address for buffer:
radeon: size : 65536 bytes
radeon: va : 0x800000
3 times
then:
radeonsi: Failed to create a context.
then crash!
This did not occur for other users. So I deleted all vlc config and
cache files, but the problem remained.
I installed libva-intel-driver package and the problem disappeared.
I am wondering why this package was missing for only one user....
Some ideas?
Thank you.
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
5 years, 7 months