28,923 reputation
32164
bio website
location European Union
age
visits member for 8 months
seen 1 hour ago
stats profile views 879

1h
comment Command line: <<< instead of <<
To be more precise it looks like <<< comes from the Unix port of rc as it doesn't look like the Plan9 rc has it.
1h
comment Command line: <<< instead of <<
Where it's not equivalent is that except in rc, <<< (like <<) uses a temporary file so can be used by commands that lseek their stdin.
1h
comment Command line: <<< instead of <<
There's a difference between the rc and zsh <<< though in that rc's doesn't include a trailing newline character and doesn't use a temp file (uses a pipe and an extra process feeding it at least in the port to Linux).
1h
revised Matching hexadecimals with gawk
added 56 characters in body
1h
comment Command line: <<< instead of <<
No, <<< is not a ksh extension, the path is rc -> zsh -> ksh93 -> bash (ksh release notes acknowledge for once borrowing the feature from zsh). << also works in rc style shells
2h
comment Linux snapshotting issues
databases are designed to survive crashes, to what's on disk at any given point should be consistent (like they write a clean flag on disk after a batch of data writes or any mechanism along those lines).
2h
comment Linux snapshotting issues
possible duplicate of Does quiesce exist for Linux?
2h
comment Any other way to define an environment variable?
What's the login shell of the oracle user? Is there pam_env in the PAM configuration for su? Is there a ~oracle/.pam_environment file?
2h
comment awk + paste for cleaning up PATH?
With tcsh, you can do set -f path=($path) though (f for first).
2h
answered Matching hexadecimals with gawk
2h
comment Search class names in jars
sed in the last one won't work because $0 contains slash characters (and may contain & or \ or newline characters). You can also have sed do the grepping.
2h
revised Search class names in jars
added 244 characters in body
3h
answered Search class names in jars
3h
revised Create custom wordlist
added 435 characters in body
9h
revised Who sets $USER and $USERNAME environment variables?
added 63 characters in body
9h
answered Who sets $USER and $USERNAME environment variables?
10h
comment Create custom wordlist
@highsciguy, does pdftotext -raw make any difference? You can always use perl -pe to insert whatever perl processing you want to do. If you give some sample of the problematic output in your question, maybe we can assist.
14h
revised Setting file permissions in bash script
added 61 characters in body
14h
comment Setting file permissions in bash script
Symlinks will always have o=rwx, but chmod changes the permissions of the target of the symlink. So anything but using find -L or excluding symlinks would be wrong. About -o=rwx vs /007, sorry I hadn'd read the initial question and comments carefully enough.
14h
answered Setting file permissions in bash script