Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to sort files alphabetically by command line(unix/linux)

Status
Not open for further replies.

vimal2010

Banned
Joined
Sep 14, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
0
UNIX/LINUX

How to sort a file alphabetically from command line(unix/linux)?
 

Re: UNIX/LINUX

What do you mean ..sort a file ??? What about if the file is hex ??
What type of data do you have in that file ..be explicit!

See sed this is a great tool .but you have to create a filter with the commands of what you want to do .according to the data
 

Re: UNIX/LINUX

Code:
cat file | sort
Look at the man page for sort(1) options.

Hope this helps.
 

UNIX/LINUX

Hi, eltonjohn, Can you tell me detail?
 

UNIX/LINUX

Details on Sed?
'man sed'
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top