8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. Programming
Obfuscated Hello World! in Python 2.7.x
This is seriously impressive:-
Obfuscating "Hello world!" - Ben Kurtovic (2 Replies)
Discussion started by: wisecracker
2 Replies
3. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
4. Programming
Hello!
I have a question to native English-speaking people. In the popular program's "hello world" greeting, what meaning the "world" has: "all", "everybody", "people", "friends" or "whole world", "planet", "Earth", "Universe"?
In other words, to whom this greeting is addressed: to the... (14 Replies)
Discussion started by: Eugene Muzychen
14 Replies
5. Post Here to Contact Site Administrators and Moderators
I have read the sun-expansion scenario numerous places but I've never read any suggestion that the earth's orbit would increase to avoid being scorched. What mechanism would push it out?
As for creating a black hole by the LHC, the whole concept is silly so any number of reasons would rule it... (9 Replies)
Discussion started by: KenJackson
9 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
8. Programming
So, this is my first C++ program under linux. My OS is Red Hat 8.0, and my codes are like following:
$vi hello.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}
$ g++ -o hello hello.cpp
the error message are: ... (3 Replies)
Discussion started by: HOUSCOUS
3 Replies
GEM(4) BSD Kernel Interfaces Manual GEM(4)
NAME
gem -- ERI/GEM/GMAC Ethernet device driver
SYNOPSIS
gem* at pci? dev ? function ?
gem* at sbus? slot ? offset ?
Configuration of PHYs may also be necessary. See mii(4).
DESCRIPTION
The gem driver provides support for the GMac Ethernet hardware found mostly in the last Apple PowerBooks G3s and most G4-based Apple hard-
ware, as well as many Sun UltraSPARCs.
Cards supported by this driver include:
o Sun GEM gigabit ethernet (SX fibre variants)
o Sun ERI 10/100
o Apple GMAC
The GEM family supports hardware checksumming to assist in computing IPv4 TCP checksums. The gem driver supports this feature of the chip.
See ifconfig(8) for information on how to enable this feature.
SEE ALSO
bmtphy(4), ifmedia(4), intro(4), mii(4), ifconfig(8)
Sun Microsystems, GEM Gigabit Ethernet ASIC Specification, http://www.sun.com/processors/manuals/ge.pdf.
Sun Microsystems, Sbus GEM Specification, http://mediacast.sun.com/users/Barton808/media/gem_sbus-1.pdf.
HISTORY
The gem device driver appeared in NetBSD 1.6. Support for PCI SX fibre cards was added in NetBSD 5.0. Support for SBus SX fibre cards was
added in NetBSD 5.0.
AUTHORS
The gem driver was written by Eduardo Horvath <eeh@NetBSD.org>. SX fibre support was added by Julian Coleman <jdc@NetBSD.org>. The man page
was written by Thomas Klausner <wiz@NetBSD.org>.
BUGS
The hardware checksumming support does not support IPv4 UDP, although this was allowed prior to NetBSD 5.0. Also, the hardware IPv4 TCP
receive checksumming support has bugs, so this is disabled.
On the SX fibre variants of the hardware, the link will stay down if there is a duplex mismatch. Also, packet transmission may fail when in
half-duplex mode.
BSD
September 15, 2008 BSD