ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The title of the article is "Bash Shell Programming in Linux". Nowhere does it say or require that all the discussed commands are built-ins. That isn't the point. The point is for newbies to learn how to get results using a Bash shell session, not to limit themselves to Bash built-ins.
you might want to change the title to "Shell programming in Linux" instead.
not quite right
here is some example text from the file
Code:
00:00:01.879 Trusted <integer> = 0x0000000000000001 (1)
00:00:01.879 PCIDeviceNo <integer> = 0x0000000000000001 (1)
00:00:01.879 PCIFunctionNo <integer> = 0x0000000000000001 (1)
00:00:01.879
00:00:01.879 [/Devices/piix3ide/0/Config/] (level 4)
00:00:01.880 Type <string> = "PIIX4" (cch=6)
^^^
\|/
V
|_this needs to be changed to zero on every line
if you are sure you want to change only the last 3 digits of the first column, then use awk
you might want to change the title to "Shell programming in Linux" instead.
I assure you, if I do that, someone will surely complain that the article is far too reliant on Bash and not enough on csh, ksh, zsh, Perl, Ruby, Python etc., etc. and that I am maliciously misleading my readers.
Believe me, no matter what you write or how you write it, someone will complain about it, usually someone who doesn't write articles himself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.