Sponsored Content
Top Forums UNIX for Advanced & Expert Users Max no. of characters in a line Post 49494 by Optimus_P on Friday 2nd of April 2004 10:04:21 AM
Old 04-02-2004
why would you create a userlist w/ everything on 1 line?

readabilty and searchabiltiy is pretty much shot.

would your script still work if it was written in a column form?
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help: Find line where column has max vlaue

Hi all, Ive searched the forum but with no luck... I have a file: ID Name Val 1 bob 45 2 joe 89 3 sue 11 4 steve 89 ... etc I want to find a way to print... (6 Replies)
Discussion started by: muay_tb
6 Replies

2. Shell Programming and Scripting

AWK/SED: handle max chars in a line

Hi all, I hope you guys can help me. I prefer SED/AWK solutions if possible. For my shame it didn't work for me :o ISSUE: :wall: 1\3 1/$4\@7\ 1234567890123456789\ 1234567890123456789,\ 1234567890123456789\ 123456789012 12345 1234567890123456789\ 1234567890123456789,\ 1234... (5 Replies)
Discussion started by: unknown7
5 Replies

3. UNIX for Dummies Questions & Answers

[Solved] Print a line using a max and a min values of different columns

Hi guys, I already search on the forum but i can't solve this on my own. I have a lot of files like this: And i need to print the line with the maximum value in last column but if the value is the same (2 in this exemple for the 3 last lines) i need get the line with the minimum value in... (4 Replies)
Discussion started by: MetaBolic0
4 Replies

4. UNIX for Dummies Questions & Answers

How to specify beginning-of-line/end-of-line characters inside a regex range

How can I specify special meaning characters like ^ or $ inside a regex range. e.g Suppose I want to search for a string that either starts with '|' character or begins with start-of-line character. I tried the following but it does not work: sed 's/\(\)/<do something here>/g' file1 ... (3 Replies)
Discussion started by: jawsnnn
3 Replies

5. Shell Programming and Scripting

[Solved] How to separate one line to mutiple line based on certain number of characters?

hi Gurus, I need separate a file which is one huge line to multiple lines based on certain number of charactors. for example: abcdefghi high abaddffdd I want to separate the line to multiple lines for every 4 charactors. the result should be abcd efgh i hi gh a badd ffdd Thanks in... (5 Replies)
Discussion started by: ken6503
5 Replies

6. UNIX for Dummies Questions & Answers

Using awk to find max and printing entire line

Hi folks, I am very new to awk. I have what is probably a very simple question. I'm trying to get the max value of column 1, but also print column 2. My data looks like this: 0.044|2000-02-03 14:00:00 5.23|2000-02-03 05:45:00 5.26|2000-02-03 11:15:00 0|2000-02-01 18:30:00 So in this case... (2 Replies)
Discussion started by: amandarobe
2 Replies

7. Shell Programming and Scripting

Find Max value of line and print

I need to find the max value of all columns except the 1st column and print the answer along with the 1st column. Input 123xyz 0 0 1 2 0 0 0 0 0 0 0 234xyz 0 0 0 0 0 0 0 0 0 0 0 345xyz 0 0 1 0 0 0 ... (8 Replies)
Discussion started by: ncwxpanther
8 Replies

8. Shell Programming and Scripting

Remove first 2 characters and last two characters of each line

here's what im trying to do. i have a file containing lines similar to this: data.txt: 1hsRmRsbHRiSFZNTTA1dlEyMWFkbU5wUW5CSlIyeDFTVU5SYjJOSFRuWmpia0ZuWXpKV2FHTnRU 1lKUnpWMldrZFZaMG95V25oYQpSelEyWTBka2QyRklhSHBrUjA1b1kwUkJkd3BOVXpWM1lVaG5k... (5 Replies)
Discussion started by: SkySmart
5 Replies

9. UNIX for Beginners Questions & Answers

How do you preserve the max length of a line after replacing a specific value?

I'm new with scripting and I can't seem to figure out what I should do to get the output that I want. My file content would be below. ID2|ID3 |ID4|ID5 | I'm trying to replace the field of ID3 which has a fixed length of 10 characters, for each entry I have placed on a .txt file... (5 Replies)
Discussion started by: asdfghjkl
5 Replies
NICOTINE(1)						      General Commands Manual						       NICOTINE(1)

NAME
nicotine-import-winconfig - import configuration from the Windows soulseek client SYNOPSIS
nicotine-import-winconfig [OPTIONS] old-config-file DESCRIPTION
This manual page documents briefly the nicotine-import-winconfig command. This manual page was written for the Debian distribution because the original program does not have a manual page. nicotine-import-winconfig is a program to import your queue, user list, password information, auto-joined chatrooms, banlist, and user information from the Windows SoulSeek configuration. USAGE
A typical invocation would be : nicotine-import-winconfig "/mnt/win9x/Program Files/SoulSeek" The program should be run when nicotine is not running. It will add the information (download queue, userlist, password info, etc.) to the existing configuration or write a new configuration from scratch when no configuration exists. FILES
$HOME/.nicotine/config The per-user configuration file for nicotine(1) will be overwritten. You might want to back up the file first, but it should not be necessary. A different config file can be chosen using the --config flag. configfile-userinfo.ext In case there's an image included in the Windows SoulSeek userinfo, the image will be extracted and written to that file, where con- figfile is the path to your nicotine configuration file, and ext is the appropriate file extension for the image type. OPTIONS
When you don't want to import all configuration options, you can choose what to import using command line flags. -c file | --config=file Use a non-default nicotine configuration file to write to. -q | --queue Import the queue. -u | --userlist Import the userlist. -l | --login Import the login information. -C | --chatrooms Import the list of autojoined chatrooms. -b | --banned Import the list of banned users. -i | --userinfo Import the user information and the image. -h | --help Print the summary of command line options and exit. TIPS
It is possible to share the download directory between platforms. Nicotine can even continue downloads that started using the Windows client. Of course, the download directories should be the same for nicotine and Windows, e.g. if your Windows sharing directory is F:slsk_in and your F drive is mounted on /mnt/media, then you must set your download directory to /mnt/media/slsk_in. SEE ALSO
nicotine(1). AUTHOR
Geert Kloosterman <geertk@ai.rug.nl>, 2003. August 25, 2003 NICOTINE(1)
All times are GMT -4. The time now is 04:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy