Search Results

Search: Posts Made By: Bashingaway
12,400
Posted By DGPickett
The man seems to day you can pull them all...
The man seems to day you can pull them all offline, but is otherwise terse, so maybe they assume if you want to limp without the bad drive, you just pull it? Maybe the facility you want is lower...
2,828
Posted By alister
Perhaps this may be of use: $ cat filenames ...
Perhaps this may be of use:

$ cat filenames
no1
no2
$ cat paths
yes0
/path/to/file/yes1
/path/to/file/yes2
/path/to/file/no1
/path/to/file/no2
/path/to/file/no2/yes3
$ awk -F/ 'FNR==NR...
2,725
Posted By agama
In the pattern .*3 matches all characters up to...
In the pattern .*3 matches all characters up to the character 3. Because sed uses a greedy match, it matches all characters up to the last three.

Adding the parens \(.*\)3 'groups' the part of...
2,725
Posted By Scott
$ echo 1234512345 | sed "s/\(.*\)3/\1<<X>>/" ...
$ echo 1234512345 | sed "s/\(.*\)3/\1<<X>>/"
1234512<<X>>45



$ echo 1234512345 | sed "s/\(.*\)6/\1<<X>>/"
1234512345
2,755
Posted By jayan_jay
This might help: code: echo...
This might help:

code:
echo "/path/to/directory/that/contains/a/file/I/need/filename.pdf" | awk -F"/" ' { print $NF } '

Use this awk syntax for the rest of the lines.
3,463
Posted By Corona688
1 million records isn't that large unless they're...
1 million records isn't that large unless they're really big records.

uniq only checks consecutive records, yes. Try sort first.

DUP=`sort < /path/to/file | uniq -d | wc -l`

[ "$DUP" -gt 0...
Forum: Linux 02-10-2011
19,361
Posted By DGPickett
Maybe you need a pseudo-terminal to capture...
Maybe you need a pseudo-terminal to capture /dev/tty writes/reads, like expect, rsh, ssh sessions.
Forum: Linux 02-07-2011
19,361
Posted By DGPickett
Google chat.c, there is a bsd version with a -r...
Google chat.c, there is a bsd version with a -r option for a report file, or you can add it. There is an inactive sourceforge file. Some versions send the dialog to syslog.
Forum: Linux 02-08-2011
19,361
Posted By Corona688
You don't have to throw the output away, you...
You don't have to throw the output away, you know. I just did so to make the example small... As for capturing 'all' the output of the modem, it really doesn't tell you when it ends, so chat's not...
5,417
Posted By m.d.ludwig
You are not going to like it, but you are going...
You are not going to like it, but you are going to have to go with reconfiguring each client. You'll just have to decide if you are going to go with an automount option, or (if your system supports...
5,417
Posted By m.d.ludwig
Just remember that SMB supports window-based file...
Just remember that SMB supports window-based file permissions, which may, or may not, work properly when mapped to unix-based file permissions.
1,668
Posted By Scrutinizer
Hi, yes you should lose -r
Hi, yes you should lose -r
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 07:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy