LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-15-2005, 10:04 AM   #1
kovattila
LQ Newbie
 
Registered: Nov 2005
Location: Budapest, Hungary
Posts: 2

Rep: Reputation: 0
Shell script - letter stat


There is "n" textfile as a parameter, i don't know how much file i will have. I have to make a matrix (on the screen) which contains the following, for example:
a 12 14 0
b 13 1 0
c 2 43 0
d 1 344 33
First row: All existing letter in ABC order
Second row: Letters in the first file
Third row: Letters in the second file
...
There is no lines like the following:
e 0 0 0
I mean if the text doesn't contain "e" it causes that this line of the matrix won't be written to the screen.

I have to make this Unix shell script for Hungarians, so i need ,,,,, letters in the stat. (with ISO-8859-2 code)

Does anybody have an idea?
Thank you in advance,
Attila
 
Old 11-15-2005, 10:59 AM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,533

Rep: Reputation: 178Reputation: 178
"Does anybody have an idea? "

I think that this looks a lot like a homework assignment.

-------------------------
Steve Stites
 
Old 11-15-2005, 01:48 PM   #3
kovattila
LQ Newbie
 
Registered: Nov 2005
Location: Budapest, Hungary
Posts: 2

Original Poster
Rep: Reputation: 0
I'm a bit old to be a student. I just want to learn Unix scripting. It's enough if somebody gives me a line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script inside shell script treotan Linux - General 4 02-19-2009 06:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
'cannot stat' script in /etc/rc.d/, try to run script at startup quintan Linux - Software 1 11-21-2005 02:53 AM
Linux stat to Windows Stat sridurai Programming 3 09-24-2004 04:07 PM


All times are GMT -5. The time now is 12:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration