You are not logged in.

#1 2015-10-09 21:26:26

NuSkool
Member
Registered: 2015-03-23
Posts: 254

[SOLVED] less /root/install.txt

How does less /root/install.txt in the install media work? Why a .txt file extension?

The file contains:

 View this installation guide online at
https://wiki.archlinux.org/index.php/Installation_Guide 

How or why does less print only the text content of the url and not also the code of the url?

I'd like to duplicate this behavior, but so far, duplicating what I see, by creating a partitions.txt file with the same text and url: https://wiki.archlinux.org/index.php/Partitioning, then less Partitioning gives the expected results. It prints the contents of the file rather than the text of the url.



Edit: Never mind, I figured out something in the archiso script is adding the text to it.

I'd be interested in info about this,  where in the script,  if anyone knows. I'll be taking a look into this also.

Last edited by NuSkool (2015-10-10 06:54:03)


Scripts I use: https://github.com/Cody-Learner
$ glxinfo | grep Device                                Device: AMD Radeon Vega 11 Graphics (radeonsi, raven, LLVM 19.1.7, DRM 3.60, 6.13.3-arch1-1.1) (0x15dd)
$ sudo dmesg | awk '/drm/ && /gfx/'       [    6.427009] [drm] add ip block number 6 <gfx_v9_0>

Offline

#2 2015-10-09 21:43:54

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [SOLVED] less /root/install.txt


1000

Offline

#3 2015-10-10 06:52:19

NuSkool
Member
Registered: 2015-03-23
Posts: 254

Re: [SOLVED] less /root/install.txt

Thanks byte!

I didn't get a chance to look at the script yet but hat's exactly what I was looking for!


Scripts I use: https://github.com/Cody-Learner
$ glxinfo | grep Device                                Device: AMD Radeon Vega 11 Graphics (radeonsi, raven, LLVM 19.1.7, DRM 3.60, 6.13.3-arch1-1.1) (0x15dd)
$ sudo dmesg | awk '/drm/ && /gfx/'       [    6.427009] [drm] add ip block number 6 <gfx_v9_0>

Offline

Board footer

Powered by FluxBB