Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Reading Single Line From File?
post Mar 6 2003, 01:02 PM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 6-March 03
Member No.: 523

Does anyone know a linux command that can be used to read a single line from either input text or a file? I'm trying to find a way to pipe multi-lined output from one command to another command one line at a time, performing work on that line, then working on the next line.

-Dogcow "moof!"
Go to the top of the page
+Quote Post
post Mar 6 2003, 01:32 PM
Post #2

RMS is my Hero

Group: Admin
Posts: 634
Joined: 27-September 02
From: Louisiana
Member No.: 5

not to sound sarcastic...but get you
a book called

perl for dummies.....


Chris W.
Go to the top of the page
+Quote Post
post Mar 6 2003, 04:09 PM
Post #3

Its GNU/

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3

I don't know the answer, but something like Perl, Sed or awk might do the trick

Corey Quilliam
(former) Administrator

Want to help out Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th July 2018 - 11:21 PM